bundle-duplicates-plugin

Identify duplicate functions across webpack JS bundles

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
bundle-duplicates-plugin
1000.0.17 years ago7 years agoMinified + gzip package size for bundle-duplicates-plugin in KB

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