{"_id":"@codemotion/chunk-manifest-webpack-plugin","_rev":"13-cbe6de198b001ac869c04da23c37d34f","name":"@codemotion/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"},"versions":{"1.1.2":{"name":"@codemotion/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":"9c0fe28572c35ff596620ddc37a23043cafea983","_id":"@codemotion/chunk-manifest-webpack-plugin@1.1.2","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"dimitarnestorov","email":"opensource@dimitarnestorov.com"},"dist":{"integrity":"sha512-INvLySaR2kFq/qxvN5/fKg+Hu3TKNCNnbAkuwqYvuN3o1kyQLprzygOnvgzMjVpqFzHzuaE2dxTTN00+pQ7Zig==","shasum":"9caa68b0e5bbaf93e8816a7718edd90e7e983360","tarball":"https://registry.npmjs.org/@codemotion/chunk-manifest-webpack-plugin/-/chunk-manifest-webpack-plugin-1.1.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7BH7aBjhhNKSXwWJOJuXRAG1XnOi6DMcGBLuyBwPogAIgdWpYjK75n29Cv52K3yWcByAt0oUWKBW3Bcp0eFeqViQ="}]},"maintainers":[{"name":"dimitarnestorov","email":"opensource@dimitarnestorov.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chunk-manifest-webpack-plugin-1.1.2.tgz_1506089358536_0.6403990911785513"},"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```","maintainers":[{"email":"uffo686@gmail.com","name":"uffo"},{"email":"nikolay@yanev.co","name":"nyanev"},{"email":"nikolas181492@gmail.com","name":"nikolay_543"}],"time":{"modified":"2023-05-30T09:21:15.278Z","created":"2017-09-22T14:09:19.437Z","1.1.2":"2017-09-22T14:09:19.437Z"},"homepage":"https://github.com/soundcloud/chunk-manifest-webpack-plugin#readme","keywords":["webpack","chunk","manifest","plugin"],"repository":{"type":"git","url":"git+https://github.com/soundcloud/chunk-manifest-webpack-plugin.git"},"author":{"name":"Jason Anderson","email":"diurnalist@gmail.com","url":"http://diurnal.st"},"bugs":{"url":"https://github.com/soundcloud/chunk-manifest-webpack-plugin/issues"},"license":"MIT","readmeFilename":"README.md"}