Skip to content

Commit f19f911

Browse files
committed
Add options.inlineManifest documentation
1 parent f8b69b8 commit f19f911

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ module.exports = {
2727
plugins: [
2828
new ChunkManifestPlugin({
2929
filename: "manifest.json",
30-
manifestVariable: "webpackManifest"
30+
manifestVariable: "webpackManifest",
31+
inlineManifest: false
3132
})
3233
]
3334
};
@@ -42,3 +43,15 @@ Where the manifest will be exported to on bundle compilation. This will be relat
4243
#### `manifestVariable`
4344

4445
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+
```

0 commit comments

Comments
 (0)