feat: refactoring project
This commit is contained in:
4
node_modules/webpack/lib/webworker/ImportScriptsChunkLoadingPlugin.js
generated
vendored
4
node_modules/webpack/lib/webworker/ImportScriptsChunkLoadingPlugin.js
generated
vendored
@@ -48,7 +48,9 @@ class ImportScriptsChunkLoadingPlugin {
|
||||
if (onceForChunkSet.has(chunk)) return;
|
||||
onceForChunkSet.add(chunk);
|
||||
if (!isEnabledForChunk(chunk)) return;
|
||||
const withCreateScriptUrl = !!compilation.outputOptions.trustedTypes;
|
||||
const withCreateScriptUrl = Boolean(
|
||||
compilation.outputOptions.trustedTypes
|
||||
);
|
||||
set.add(RuntimeGlobals.moduleFactoriesAddOnly);
|
||||
set.add(RuntimeGlobals.hasOwnProperty);
|
||||
if (withCreateScriptUrl) {
|
||||
|
||||
Reference in New Issue
Block a user