Skip to content

Conversation

ruiaraujo
Copy link
Contributor

If using a separate entry for the webpack runtime, it starts pointing to the manifest file.

If using a separate entry for the webpack runtime, it starts pointing to the manifest file.
this.outputOptions.chunkFilename = "__CHUNK_MANIFEST__";
// mark as asset for emitting
compilation.assets[manifestFilename] = new RawSource(JSON.stringify(chunkManifest));
chunk.files.push(manifestFilename);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe set here condition:

if (!inlineManifest) {
    chunk.files.push(manifestFilename);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants