{"name":"chunk-manifest-webpack-plugin","version":"1.0.0","description":"Allows exporting a manifest that maps chunk ids to their output files, instead of keeping the mapping inside the webpack bootstrap.","main":"lib/ChunkManifestPlugin.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Jason Anderson","email":"diurnalist@gmail.com","url":"http://diurnal.st"},"license":"MIT","dependencies":{"webpack-core":"^0.6.9"},"peerDependencies":{"webpack":"^2.0.0"},"repository":{"type":"git","url":"git+https://github.com/diurnalist/chunk-manifest-webpack-plugin.git"},"bugs":{"url":"https://github.com/diurnalist/chunk-manifest-webpack-plugin/issues"},"homepage":"https://github.com/diurnalist/chunk-manifest-webpack-plugin#readme","devDependencies":{},"keywords":["webpack","chunk","manifest","plugin"],"gitHead":"16d2ad209755488cda95a4f27b701d68bd64977d","_id":"chunk-manifest-webpack-plugin@1.0.0","_shasum":"84ef34ff676e7b147e9512f7f0289ef3589f33e2","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.8.0","_npmUser":{"name":"diurnalist","email":"diurnalist@gmail.com"},"maintainers":[{"name":"diurnalist","email":"diurnalist@gmail.com"}],"dist":{"shasum":"84ef34ff676e7b147e9512f7f0289ef3589f33e2","tarball":"http://registry-npm.ywwl.com/chunk-manifest-webpack-plugin/download/chunk-manifest-webpack-plugin-1.0.0.tgz","integrity":"sha512-/MqAc5xqxTxrKJeB9ccJ8Qdw1orS7taMi6eJKypZjwyW5YbmZbmSuPWnlZuLQ15D2v43SRxz0M30CGvvAdPfEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWA+T/goBTMAfH9qXbEE4vvK1lfTM7Rz6ZSNWLh4pKfgIhAINc2XM4K7HS+UEzDj4YKyXnpDunDhtu1NAkOr2P5gVk"}],"size":2370,"noattachment":false,"key":"/chunk-manifest-webpack-plugin/-/chunk-manifest-webpack-plugin-1.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/chunk-manifest-webpack-plugin-1.0.0.tgz_1481107329978_0.6338548795320094"},"directories":{},"readme":"# chunk-manifest-webpack-plugin\n\nAllows exporting a JSON file that maps chunk ids to their resulting asset files. Webpack can then read this mapping, assuming it is provided somehow on the client, instead of storing a mapping (with chunk asset hashes) in the bootstrap script, which allows to actually leverage long-term caching.\n\n## Usage\n\nInstall via npm:\n\n```shell\nnpm install --save-dev chunk-manifest-webpack-plugin\n```\n\nInstall via yarn:\n\n```shell\nyarn add --dev chunk-manifest-webpack-plugin\n```\n\nAnd then require and provide to webpack:\n\n```javascript\n// in webpack.config.js or similar\nconst ChunkManifestPlugin = require('chunk-manifest-webpack-plugin');\n\nmodule.exports = {\n  // your config values here\n  plugins: [\n    new ChunkManifestPlugin({\n      filename: 'manifest.json',\n      manifestVariable: 'webpackManifest',\n      inlineManifest: false\n    })\n  ]\n};\n```\n\n### Options\n\n#### `filename`\n\nWhere the manifest will be exported to on bundle compilation. This will be relative to the main webpack output directory. Default = `\"manifest.json\"`\n\n#### `manifestVariable`\n\nWhat JS variable on the client webpack should refer to when requiring chunks. Default = `\"webpackManifest\"`\n\n#### `inlineManifest`\n\nWhether or not to write the manifest output into the [html-webpack-plugin](https://github.com/ampedandwired/html-webpack-plugin). Default = `false`\n\n```html\n// index.ejs\n<body>\n    <!-- app -->\n    <%= htmlWebpackPlugin.files.webpackManifest %>\n</body>\n```","publish_time":1481107332426,"_cnpm_publish_time":1481107332426,"dist-tags":{"latest":"1.1.2"}}