feat: refactoring project
This commit is contained in:
4
node_modules/webpack/lib/optimize/MergeDuplicateChunksPlugin.js
generated
vendored
4
node_modules/webpack/lib/optimize/MergeDuplicateChunksPlugin.js
generated
vendored
@@ -5,7 +5,7 @@
|
||||
|
||||
"use strict";
|
||||
|
||||
const { STAGE_BASIC } = require("../OptimizationStages");
|
||||
const { STAGE_ADVANCED } = require("../OptimizationStages");
|
||||
const { runtimeEqual } = require("../util/runtime");
|
||||
|
||||
/** @typedef {import("../Compiler")} Compiler */
|
||||
@@ -22,7 +22,7 @@ class MergeDuplicateChunksPlugin {
|
||||
compilation.hooks.optimizeChunks.tap(
|
||||
{
|
||||
name: "MergeDuplicateChunksPlugin",
|
||||
stage: STAGE_BASIC
|
||||
stage: STAGE_ADVANCED
|
||||
},
|
||||
chunks => {
|
||||
const { chunkGraph, moduleGraph } = compilation;
|
||||
|
||||
Reference in New Issue
Block a user