Miss any of our Open RFC calls?Watch the recordings here! »

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

Install

npm i bundle-duplicates-plugin

DownloadsWeekly Downloads

353

Version

0.0.1

License

MIT

Last publish

Collaborators

  • avatar