bundle-duplicates-plugin

0.0.1 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i bundle-duplicates-plugin

Weekly Downloads

495

Version

0.0.1

License

MIT

Last publish

Collaborators

  • vignesh.shanmugam