Skip to content

Commit

Permalink
use correct chunkgraph in runtime module
Browse files Browse the repository at this point in the history
  • Loading branch information
vankop committed Feb 22, 2022
1 parent 45e8873 commit 8de7ec4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/esm/ModuleChunkLoadingRuntimeModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,9 @@ class ModuleChunkLoadingRuntimeModule extends RuntimeModule {
* @returns {string} runtime code
*/
generate() {
const { compilation, chunk } = this;
const { compilation, chunk, chunkGraph } = this;
const {
runtimeTemplate,
chunkGraph,
outputOptions: { importFunctionName }
} = compilation;
const fn = RuntimeGlobals.ensureChunkHandlers;
Expand Down

0 comments on commit 8de7ec4

Please sign in to comment.