File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ module.exports = {
27
27
plugins: [
28
28
new ChunkManifestPlugin ({
29
29
filename: " manifest.json" ,
30
- manifestVariable: " webpackManifest"
30
+ manifestVariable: " webpackManifest" ,
31
+ inlineManifest: false
31
32
})
32
33
]
33
34
};
@@ -42,3 +43,15 @@ Where the manifest will be exported to on bundle compilation. This will be relat
42
43
#### ` manifestVariable `
43
44
44
45
What JS variable on the client webpack should refer to when requiring chunks. Default = ` "webpackManifest" `
46
+
47
+ #### ` inlineManifest `
48
+
49
+ Whether or not to write the manifest output into the [ html-webpack-plugin] ( https://github.com/ampedandwired/html-webpack-plugin ) . Default = ` false `
50
+
51
+ ``` html
52
+ // index.ejs
53
+ <body >
54
+ <!-- app -->
55
+ <%= htmlWebpackPlugin.files.webpackManifest %>
56
+ </body >
57
+ ```
You can’t perform that action at this time.
0 commit comments