Webpack plugin (v1.1.1, last released 2017) that overrides output.filename and output.chunkFilename on a per-chunk basis. It maps chunk names to custom filename templates, allowing some files to have static names while others include hashes. Works with webpack 1, 2, and 3 (Node 4+). Not maintained for webpack 4+ — consider webpack's built-in asset module or other plugins. Differentiator: simple, explicit mapping of chunk names to filenames without affecting global output config.
npm install chunk-rename-webpack-pluginVerified import paths — ran on the pinned version, not inferred.
Shows how to override global filename patterns for specific chunks using the plugin.
Migrate to webpack's built-in output.filename function or asset module rules.
Verify chunk name spelling in webpack output (e.g., 'login' not 'Login').
Use compatible webpack version or find alternative for newer webpack.
Use webpack 4/5 native hashing in output.filename function.
Replace 'import ChunkRenamePlugin from ...' with 'const ChunkRenamePlugin = require(...)'
Run 'npm install chunk-rename-webpack-plugin --save-dev' or downgrade webpack to 1-3.
Use webpack 1-3 or a compatible plugin like 'webpack-files-archive-plugin'.