feat: refactoring project
This commit is contained in:
4
node_modules/webpack/lib/runtime/StartupChunkDependenciesRuntimeModule.js
generated
vendored
4
node_modules/webpack/lib/runtime/StartupChunkDependenciesRuntimeModule.js
generated
vendored
@@ -30,9 +30,7 @@ class StartupChunkDependenciesRuntimeModule extends RuntimeModule {
|
||||
const chunk = /** @type {Chunk} */ (this.chunk);
|
||||
const chunkIds = Array.from(
|
||||
chunkGraph.getChunkEntryDependentChunksIterable(chunk)
|
||||
).map(chunk => {
|
||||
return chunk.id;
|
||||
});
|
||||
).map(chunk => chunk.id);
|
||||
const compilation = /** @type {Compilation} */ (this.compilation);
|
||||
const { runtimeTemplate } = compilation;
|
||||
return Template.asString([
|
||||
|
||||
Reference in New Issue
Block a user