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.jsconst BundleDuplicatesPlugin = ;moduleexports = entry: //..., output: //..., plugins: // options
Options
All options as mentioned here