Skip to content

Commit 2684e06

Browse files
authored
Merge pull request webpack#3587 from timse/remove-unnecessary-constructor-param-for-chunk-template
remove second param to `ChunkTemplate` constructor
2 parents 0636e7c + 678984b commit 2684e06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Compilation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function Compilation(compiler) {
3434
this.performance = options && options.performance;
3535

3636
this.mainTemplate = new MainTemplate(this.outputOptions);
37-
this.chunkTemplate = new ChunkTemplate(this.outputOptions, this.mainTemplate);
37+
this.chunkTemplate = new ChunkTemplate(this.outputOptions);
3838
this.hotUpdateChunkTemplate = new HotUpdateChunkTemplate(this.outputOptions);
3939
this.moduleTemplate = new ModuleTemplate(this.outputOptions);
4040

0 commit comments

Comments
 (0)