File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ class HtmlWebpackChildCompiler {
178
178
// Therefore the array index of this.templates should be the as entryIndex.
179
179
result [ this . templates [ entryIndex ] ] = {
180
180
content : templateSource ,
181
- hash : childCompilation . hash ,
181
+ hash : childCompilation . hash || 'XXXX' ,
182
182
entry : entries [ entryIndex ]
183
183
} ;
184
184
} ) ;
Original file line number Diff line number Diff line change @@ -7,6 +7,16 @@ export = HtmlWebpackPlugin;
7
7
declare class HtmlWebpackPlugin {
8
8
constructor ( options ?: HtmlWebpackPlugin . Options ) ;
9
9
10
+ userOptions : HtmlWebpackPlugin . Options ;
11
+
12
+ /** Current HtmlWebpackPlugin Major */
13
+ version : number ;
14
+
15
+ /**
16
+ * Options after html-webpack-plugin has been initialized with defaults
17
+ */
18
+ options ?: HtmlWebpackPlugin . ProcessedOptions ;
19
+
10
20
apply ( compiler : Compiler ) : void ;
11
21
12
22
static getHooks ( compilation : Compilation ) : HtmlWebpackPlugin . Hooks ;
You can’t perform that action at this time.
0 commit comments