{"name":"chunk-manifest-webpack-plugin","version":"0.1.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.4.8"},"peerDependencies":{"webpack":"^1.4.0-beta6"},"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":"4efc4b1b2d04592d04b32de97a432b5417d7fa82","_id":"chunk-manifest-webpack-plugin@0.1.0","_shasum":"6138488fc21ddab4ccfb7c1c11d51bb80a943186","_from":".","_npmVersion":"3.8.8","_nodeVersion":"0.12.9","_npmUser":{"name":"diurnalist","email":"diurnalist@gmail.com"},"maintainers":[{"name":"diurnalist","email":"diurnalist@gmail.com"}],"dist":{"shasum":"6138488fc21ddab4ccfb7c1c11d51bb80a943186","tarball":"http://registry-npm.ywwl.com/chunk-manifest-webpack-plugin/download/chunk-manifest-webpack-plugin-0.1.0.tgz","integrity":"sha512-dJqpH6R/bFJgAJVPXqnWFuy+E63TndbfoY97dLLcPD8EqoiqWt1+AgauJH2eHrwQL9zeqRGa0EnfJz0dAzP90Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFVIFGxbxExewStXmwG0R8egjJM+Y6CtfVVrqN3AMuhsAiA5ecqjBvEaZfePT5qEE/zhoITmVMwi4UgqvkO9r8xCMw=="}],"size":2366,"noattachment":false,"key":"/chunk-manifest-webpack-plugin/-/chunk-manifest-webpack-plugin-0.1.0.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/chunk-manifest-webpack-plugin-0.1.0.tgz_1464687715768_0.35620857682079077"},"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":1464687717871,"_cnpm_publish_time":1464687717871,"dist-tags":{"latest":"1.1.2"}}