Skip to content

Commit 10cea76

Browse files
committed
fix wrong assignment of filenameTemplate in constructor
1 parent 9a7a6b9 commit 10cea76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/optimize/CommonsChunkPlugin.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The available options are:
2727
const normalizedOptions = this.normalizeOptions(options);
2828

2929
this.chunkNames = normalizedOptions.chunkNames;
30-
this.filenameTemplate = this.filenameTemplate;
30+
this.filenameTemplate = normalizedOptions.filenameTemplate;
3131
this.minChunks = normalizedOptions.minChunks;
3232
this.selectedChunks = normalizedOptions.selectedChunks;
3333
this.async = normalizedOptions.async;

0 commit comments

Comments
 (0)