{"_id":"chunk-manifest-webpack-plugin","_rev":"287468","name":"chunk-manifest-webpack-plugin","description":"Allows exporting a manifest that maps chunk ids to their output files, instead of keeping the mapping inside the webpack bootstrap.","dist-tags":{"latest":"1.1.2"},"maintainers":[{"name":"diurnalist","email":"diurnalist@gmail.com"},{"name":"sc-web-collective","email":"web@soundcloud.com"}],"time":{"modified":"2021-06-03T18:40:34.000Z","created":"2014-09-17T07:56:23.606Z","1.1.2":"2017-07-26T12:07:43.187Z","1.1.1":"2017-07-24T09:36:03.332Z","1.1.0":"2017-04-24T09:36:16.547Z","1.0.0":"2016-12-07T10:42:12.426Z","0.1.0":"2016-05-31T09:41:57.871Z","0.0.1":"2014-09-17T07:56:23.606Z"},"users":{"ackhub":true,"happyoulp":true,"cognivator":true,"sqrtthree":true,"yong_a":true,"yeming":true,"asfrom30":true},"author":{"name":"Jason Anderson","email":"diurnalist@gmail.com","url":"http://diurnal.st"},"repository":{"type":"git","url":"git+https://github.com/soundcloud/chunk-manifest-webpack-plugin.git"},"versions":{"1.1.2":{"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","size":2801,"noattachment":false,"key":"/chunk-manifest-webpack-plugin/-/chunk-manifest-webpack-plugin-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/chunk-manifest-webpack-plugin/download/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":{},"publish_time":1501070863187,"_hasShrinkwrap":false,"_cnpm_publish_time":1501070863187},"1.1.1":{"name":"chunk-manifest-webpack-plugin","version":"1.1.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.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":"a4bc899e037d77496b4b23403e8d549bacb00fc2","_id":"chunk-manifest-webpack-plugin@1.1.1","_shasum":"3fac6dbe4e524011a56a6847c6c691b43aafb163","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.4","_npmUser":{"name":"diurnalist","email":"diurnalist@gmail.com"},"dist":{"shasum":"3fac6dbe4e524011a56a6847c6c691b43aafb163","size":2790,"noattachment":false,"key":"/chunk-manifest-webpack-plugin/-/chunk-manifest-webpack-plugin-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/chunk-manifest-webpack-plugin/download/chunk-manifest-webpack-plugin-1.1.1.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.1.tgz_1500888962235_0.5738592124544084"},"directories":{},"publish_time":1500888963332,"_hasShrinkwrap":false,"_cnpm_publish_time":1500888963332},"1.1.0":{"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","size":2735,"noattachment":false,"key":"/chunk-manifest-webpack-plugin/-/chunk-manifest-webpack-plugin-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/chunk-manifest-webpack-plugin/download/chunk-manifest-webpack-plugin-1.1.0.tgz"},"maintainers":[{"name":"diurnalist","email":"diurnalist@gmail.com"},{"name":"sc-web-collective","email":"web@soundcloud.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/chunk-manifest-webpack-plugin-1.1.0.tgz_1493026575988_0.37591366469860077"},"directories":{},"publish_time":1493026576547,"_cnpm_publish_time":1493026576547,"_hasShrinkwrap":false},"1.0.0":{"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"},{"name":"sc-web-collective","email":"web@soundcloud.com"}],"dist":{"shasum":"84ef34ff676e7b147e9512f7f0289ef3589f33e2","size":2370,"noattachment":false,"key":"/chunk-manifest-webpack-plugin/-/chunk-manifest-webpack-plugin-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/chunk-manifest-webpack-plugin/download/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":{},"publish_time":1481107332426,"_cnpm_publish_time":1481107332426,"_hasShrinkwrap":false},"0.1.0":{"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"},{"name":"sc-web-collective","email":"web@soundcloud.com"}],"dist":{"shasum":"6138488fc21ddab4ccfb7c1c11d51bb80a943186","size":2366,"noattachment":false,"key":"/chunk-manifest-webpack-plugin/-/chunk-manifest-webpack-plugin-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/chunk-manifest-webpack-plugin/download/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":{},"publish_time":1464687717871,"_cnpm_publish_time":1464687717871,"_hasShrinkwrap":false},"0.0.1":{"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"},{"name":"sc-web-collective","email":"web@soundcloud.com"}],"dist":{"shasum":"196923e7c7e81f6ad6932d100931566bb1dd175a","size":2262,"noattachment":false,"key":"/chunk-manifest-webpack-plugin/-/chunk-manifest-webpack-plugin-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/chunk-manifest-webpack-plugin/download/chunk-manifest-webpack-plugin-0.0.1.tgz"},"directories":{},"publish_time":1410940583606,"_cnpm_publish_time":1410940583606,"_hasShrinkwrap":false}},"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```","_attachments":{},"homepage":"https://github.com/soundcloud/chunk-manifest-webpack-plugin#readme","bugs":{"url":"https://github.com/soundcloud/chunk-manifest-webpack-plugin/issues"},"license":"MIT"}