bundle-duplicates-plugin
v0.0.1
Published
Identify duplicate functions across webpack JS bundles
Downloads
2,491
Maintainers
Readme
bundle-duplicates-plugin
Identify duplicate functions across all webpack JS bundles.
It uses js-cpa for analysing the duplicates.
Install
npm i --save-dev bundle-duplicates-plugin
Usage
// webpack.config.js
const BundleDuplicatesPlugin = require("bundle-duplicates-plugin");
module.exports = {
entry: //...,
output: //...,
plugins: [
new BundleDuplicatesPlugin({
// options
})
]
}
Options
All options as mentioned here