feat: refactoring project
This commit is contained in:
2
node_modules/webpack/lib/FlagAllModulesAsUsedPlugin.js
generated
vendored
2
node_modules/webpack/lib/FlagAllModulesAsUsedPlugin.js
generated
vendored
@@ -30,7 +30,7 @@ class FlagAllModulesAsUsedPlugin {
|
||||
const moduleGraph = compilation.moduleGraph;
|
||||
compilation.hooks.optimizeDependencies.tap(PLUGIN_NAME, modules => {
|
||||
/** @type {RuntimeSpec} */
|
||||
let runtime = undefined;
|
||||
let runtime;
|
||||
for (const [name, { options }] of compilation.entries) {
|
||||
runtime = mergeRuntimeOwned(
|
||||
runtime,
|
||||
|
||||
Reference in New Issue
Block a user