Skip to content

Commit

Permalink
Merge pull request #11 from gingur/patch-1
Browse files Browse the repository at this point in the history
Update to use chunkhash filename
  • Loading branch information
diurnalist committed May 31, 2016
2 parents a1d4d94 + 97150b9 commit 9027c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ChunkManifestPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ChunkManifestPlugin.prototype.apply = function(compiler) {
compiler.plugin("this-compilation", function(compilation) {
var mainTemplate = compilation.mainTemplate;
mainTemplate.plugin("require-ensure", function(_, chunk, hash) {
var filename = this.outputOptions.filename;
var filename = this.outputOptions.chunkFilename || this.outputOptions.filename;
var chunkManifest;

if (filename) {
Expand Down

0 comments on commit 9027c4b

Please sign in to comment.