Skip to content

Fix another regression introduced in 1.1.1 - #51

Open
ruiaraujo wants to merge 1 commit into
soundcloud:masterfrom
ruiaraujo:patch-1
Open

Fix another regression introduced in 1.1.1#51
ruiaraujo wants to merge 1 commit into
soundcloud:masterfrom
ruiaraujo:patch-1

Conversation

@ruiaraujo

Copy link
Copy Markdown
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
Copy Markdown

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