feat: refactoring project
This commit is contained in:
6
node_modules/webpack/lib/esm/ModuleChunkFormatPlugin.js
generated
vendored
6
node_modules/webpack/lib/esm/ModuleChunkFormatPlugin.js
generated
vendored
@@ -58,9 +58,9 @@ class ModuleChunkFormatPlugin {
|
||||
} else {
|
||||
source.add(`export const id = ${JSON.stringify(chunk.id)};\n`);
|
||||
source.add(`export const ids = ${JSON.stringify(chunk.ids)};\n`);
|
||||
source.add(`export const modules = `);
|
||||
source.add("export const modules = ");
|
||||
source.add(modules);
|
||||
source.add(`;\n`);
|
||||
source.add(";\n");
|
||||
const runtimeModules =
|
||||
chunkGraph.getChunkRuntimeModulesInOrder(chunk);
|
||||
if (runtimeModules.length > 0) {
|
||||
@@ -103,7 +103,7 @@ class ModuleChunkFormatPlugin {
|
||||
compilation.outputOptions
|
||||
),
|
||||
{
|
||||
chunk: chunk,
|
||||
chunk,
|
||||
contentHashType: "javascript"
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user