Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vigneshshanmugam/bundle-duplicates-plugin
Identify duplicate functions across webpack JS bundles
https://github.com/vigneshshanmugam/bundle-duplicates-plugin
bundle-duplicates webpack-plugin
Last synced: 30 days ago
JSON representation
Identify duplicate functions across webpack JS bundles
- Host: GitHub
- URL: https://github.com/vigneshshanmugam/bundle-duplicates-plugin
- Owner: vigneshshanmugam
- License: mit
- Created: 2017-07-26T15:58:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-28T20:41:36.000Z (over 7 years ago)
- Last Synced: 2024-04-13T20:02:57.018Z (7 months ago)
- Topics: bundle-duplicates, webpack-plugin
- Language: JavaScript
- Size: 33.2 KB
- Stars: 10
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bundle-duplicates-plugin
Identify duplicate functions across all webpack JS bundles.### Features
+ Works across Common chunks & Code Splitted bundlesIt uses [js-cpa](https://github.com/vigneshshanmugam/js-cpa/) for analysing the duplicates.
### Install
```sh
npm i --save-dev bundle-duplicates-plugin
```### Usage
```js
// webpack.config.js
const BundleDuplicatesPlugin = require("bundle-duplicates-plugin");
module.exports = {
entry: //...,
output: //...,
plugins: [
new BundleDuplicatesPlugin({
// options
})
]
}
```### Options
All options as mentioned [here](https://github.com/vigneshshanmugam/js-cpa/#options)
### Ideas
+ Custom Repoters to visualize the duplicates across bundle