Skip to content

Commit

Permalink
Add options.inlineManifest documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
TuckerCowie committed Dec 14, 2016
1 parent f8b69b8 commit f19f911
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ module.exports = {
plugins: [
new ChunkManifestPlugin({
filename: "manifest.json",
manifestVariable: "webpackManifest"
manifestVariable: "webpackManifest",
inlineManifest: false
})
]
};
Expand All @@ -42,3 +43,15 @@ Where the manifest will be exported to on bundle compilation. This will be relat
#### `manifestVariable`

What JS variable on the client webpack should refer to when requiring chunks. Default = `"webpackManifest"`

#### `inlineManifest`

Whether or not to write the manifest output into the [html-webpack-plugin](https://github.com/ampedandwired/html-webpack-plugin). Default = `false`

```html
// index.ejs
<body>
<!-- app -->
<%= htmlWebpackPlugin.files.webpackManifest %>
</body>
```

0 comments on commit f19f911

Please sign in to comment.