{"name":"chunk-manifest-webpack-plugin","version":"1.1.2","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 || ^3.0.0"},"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":"d21232c4c115d7b32089de4bd199d0104d1e2333","_id":"chunk-manifest-webpack-plugin@1.1.2","_shasum":"b332efb97c1a23bfd3ca5dcee13aa120df72df59","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.4","_npmUser":{"name":"diurnalist","email":"diurnalist@gmail.com"},"dist":{"shasum":"b332efb97c1a23bfd3ca5dcee13aa120df72df59","tarball":"http://registry-npm.ywwl.com/chunk-manifest-webpack-plugin/download/chunk-manifest-webpack-plugin-1.1.2.tgz","integrity":"sha512-rUyiNvzZJcz6uMi+4pYS+6ndF4R33R17WbpMOVHW2SDCfbDx6+5Nf2UQRmVysffGLm3qev2z3rSuaIrTREAQ7A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB/yEbQZzf5E5DDP4JQPvobEiPzHi9b0IlAgWb+xXtjEAiBeYkU2cXX/36MCusKZpI/LSxNFZzXPqz2MR0aCmxwO3g=="}],"size":2801,"noattachment":false,"key":"/chunk-manifest-webpack-plugin/-/chunk-manifest-webpack-plugin-1.1.2.tgz"},"maintainers":[{"name":"diurnalist","email":"diurnalist@gmail.com"},{"name":"sc-web-collective","email":"web@soundcloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chunk-manifest-webpack-plugin-1.1.2.tgz_1501070862330_0.2879309596028179"},"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":1501070863187,"_cnpm_publish_time":1501070863187,"dist-tags":{"latest":"1.1.2"}}