0.0.1 • Published 7 years ago
bundle-duplicates-plugin v0.0.1
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
0.0.1
7 years ago