Skip to content

Commit 8de7ec4

Browse files
committed
use correct chunkgraph in runtime module
1 parent 45e8873 commit 8de7ec4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/esm/ModuleChunkLoadingRuntimeModule.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,9 @@ class ModuleChunkLoadingRuntimeModule extends RuntimeModule {
8080
* @returns {string} runtime code
8181
*/
8282
generate() {
83-
const { compilation, chunk } = this;
83+
const { compilation, chunk, chunkGraph } = this;
8484
const {
8585
runtimeTemplate,
86-
chunkGraph,
8786
outputOptions: { importFunctionName }
8887
} = compilation;
8988
const fn = RuntimeGlobals.ensureChunkHandlers;

0 commit comments

Comments
 (0)