From c4e7233604ef1a5ff6ee636d34ba208d2a1e59fc Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Sat, 22 Jun 2024 02:57:36 -0300 Subject: [PATCH] check for bundlePath value again --- src/webpack/patchWebpack.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/webpack/patchWebpack.ts b/src/webpack/patchWebpack.ts index 80676fd16..2918cf136 100644 --- a/src/webpack/patchWebpack.ts +++ b/src/webpack/patchWebpack.ts @@ -70,6 +70,8 @@ define(Function.prototype, "O", { define(this, "p", { value: bundlePath }); clearTimeout(setterTimeout); + if (bundlePath !== "/assets/") return; + logger.info("Main Webpack found" + interpolateIfDefined` in ${fileName}` + ", initializing internal references to WebpackRequire"); _initWebpack(this); }