From f19f91184f3a8bf7d8230519daf9709966ea4bd7 Mon Sep 17 00:00:00 2001 From: Tucker Cowie Date: Wed, 14 Dec 2016 14:38:31 -0600 Subject: [PATCH] Add options.inlineManifest documentation --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d79bd9e..b632e3c 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,8 @@ module.exports = { plugins: [ new ChunkManifestPlugin({ filename: "manifest.json", - manifestVariable: "webpackManifest" + manifestVariable: "webpackManifest", + inlineManifest: false }) ] }; @@ -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 + + + <%= htmlWebpackPlugin.files.webpackManifest %> + +``` \ No newline at end of file