From cbd9a9312cc1bc4acb362f526051caf1d08b9d84 Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Fri, 31 May 2024 19:58:26 -0300 Subject: [PATCH] don't depend in the value of bundlePath --- src/webpack/patchWebpack.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/webpack/patchWebpack.ts b/src/webpack/patchWebpack.ts index abfabb438..373433166 100644 --- a/src/webpack/patchWebpack.ts +++ b/src/webpack/patchWebpack.ts @@ -73,8 +73,6 @@ define(Function.prototype, "m", { 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); }