File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ class HtmlWebpackChildCompiler {
78
78
const NodeTemplatePlugin = webpack . node . NodeTemplatePlugin ;
79
79
const NodeTargetPlugin = webpack . node . NodeTargetPlugin ;
80
80
const LoaderTargetPlugin = webpack . LoaderTargetPlugin ;
81
- const SingleEntryPlugin = webpack . SingleEntryPlugin ;
81
+ const EntryPlugin = webpack . EntryPlugin ;
82
82
83
83
// To prevent multiple compilations for the same template
84
84
// the compilation is cached in a promise.
@@ -116,7 +116,7 @@ class HtmlWebpackChildCompiler {
116
116
117
117
// Add all templates
118
118
this . templates . forEach ( ( template , index ) => {
119
- new SingleEntryPlugin ( childCompiler . context , template , `HtmlWebpackPlugin_${ index } -${ this . id } ` ) . apply ( childCompiler ) ;
119
+ new EntryPlugin ( childCompiler . context , template , `HtmlWebpackPlugin_${ index } -${ this . id } ` ) . apply ( childCompiler ) ;
120
120
} ) ;
121
121
122
122
this . compilationStartedTimestamp = new Date ( ) . getTime ( ) ;
You can’t perform that action at this time.
0 commit comments