{"name":"chunk-manifest-webpack-plugin","version":"1.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.6.9"},"peerDependencies":{"webpack":"^2.0.0 || ^2.1.0-beta || ^2.2.0-rc"},"repository":{"type":"git","url":"git+https://github.com/soundcloud/chunk-manifest-webpack-plugin.git"},"bugs":{"url":"https://github.com/soundcloud/chunk-manifest-webpack-plugin/issues"},"homepage":"https://github.com/soundcloud/chunk-manifest-webpack-plugin#readme","devDependencies":{},"keywords":["webpack","chunk","manifest","plugin"],"gitHead":"8d6ef9af7ce1ec6c64fb3fa76e9ad8a91d0975ac","_id":"chunk-manifest-webpack-plugin@1.1.0","_shasum":"21e73e5d31ed09e15f610e41385a276224d39af2","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.4","_npmUser":{"name":"diurnalist","email":"diurnalist@gmail.com"},"dist":{"shasum":"21e73e5d31ed09e15f610e41385a276224d39af2","tarball":"http://registry-npm.ywwl.com/chunk-manifest-webpack-plugin/download/chunk-manifest-webpack-plugin-1.1.0.tgz","integrity":"sha512-oLRN5hxhEtI+GkI2+7DzbgTvi79NQsuYWp2nDnoh8N83xZGOhBrs9hLhkNcFKPkmZp25tlsrtWIOLV5/Gb80AQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbkNxDMdhx4tadEhbLAqYuWvBuzebb9fT6WP5Pek6mAwIhALzXBYkvwM2L0aZg8n8dz/4Fy/S2hZ/umoLsmts+VlSP"}],"size":2735,"noattachment":false,"key":"/chunk-manifest-webpack-plugin/-/chunk-manifest-webpack-plugin-1.1.0.tgz"},"maintainers":[{"name":"diurnalist","email":"diurnalist@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/chunk-manifest-webpack-plugin-1.1.0.tgz_1493026575988_0.37591366469860077"},"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":1493026576547,"_cnpm_publish_time":1493026576547,"dist-tags":{"latest":"1.1.2"}}