{"name":"chunk-manifest-webpack-plugin","version":"0.0.1","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"},"gitHead":"3de0ee51137b9088a587a55a66c82d630cb89480","_id":"chunk-manifest-webpack-plugin@0.0.1","_shasum":"196923e7c7e81f6ad6932d100931566bb1dd175a","_from":".","_npmVersion":"1.4.27","_npmUser":{"name":"diurnalist","email":"diurnalist@gmail.com"},"maintainers":[{"name":"diurnalist","email":"diurnalist@gmail.com"}],"dist":{"shasum":"196923e7c7e81f6ad6932d100931566bb1dd175a","tarball":"http://registry-npm.ywwl.com/chunk-manifest-webpack-plugin/download/chunk-manifest-webpack-plugin-0.0.1.tgz","integrity":"sha512-iosDxiXeQ9NxqRHCcCSWLdM/IEk/+ZAvVc284HbKJ6vV4IMPqzNcn1CZoiIMqsFbYhQZDuMNWjBIL8AOEI5ijw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcJ4AebDwvxpTR4ccv3e6k1tEjlrzf0llkkaONHzuQ/gIhAPfTWkTR6oDns0vJrKr4MudpZ188N0HIoYOTzI/6Dl6s"}],"size":2262,"noattachment":false,"key":"/chunk-manifest-webpack-plugin/-/chunk-manifest-webpack-plugin-0.0.1.tgz"},"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":1410940583606,"_cnpm_publish_time":1410940583606,"dist-tags":{"latest":"1.1.2"}}