Skip to content

Commit 9027c4b

Browse files
committed
Merge pull request #11 from gingur/patch-1
Update to use chunkhash filename
2 parents a1d4d94 + 97150b9 commit 9027c4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ChunkManifestPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ChunkManifestPlugin.prototype.apply = function(compiler) {
1616
compiler.plugin("this-compilation", function(compilation) {
1717
var mainTemplate = compilation.mainTemplate;
1818
mainTemplate.plugin("require-ensure", function(_, chunk, hash) {
19-
var filename = this.outputOptions.filename;
19+
var filename = this.outputOptions.chunkFilename || this.outputOptions.filename;
2020
var chunkManifest;
2121

2222
if (filename) {

0 commit comments

Comments
 (0)