https://github.com/zillow/gulp-webpack-stats-duplicates
Gulp plugin for finding duplicate modules in your webpack stats.json
https://github.com/zillow/gulp-webpack-stats-duplicates
Last synced: 9 months ago
JSON representation
Gulp plugin for finding duplicate modules in your webpack stats.json
- Host: GitHub
- URL: https://github.com/zillow/gulp-webpack-stats-duplicates
- Owner: zillow
- Created: 2016-12-28T17:00:37.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-25T17:16:54.000Z (almost 9 years ago)
- Last Synced: 2025-03-11T07:06:27.926Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gulp-webpack-stats-duplicates
A gulp plugin for the [webpack-stats-duplicates](https://github.com/zillow/webpack-stats-duplicates) utility.
### Installation
```
$ npm install --save gulp-webpack-stats-duplicates
```
### Usage
```
import webpackStatsDuplicates from 'gulp-webpack-stats-duplicates';
gulp.task('webpack-stats-duplicates', () => {
gulp.src('**/stats.json').pipe(webpackStatsDuplicates({ /* options */ }));
});
```
#### Options
Takes all the same options as the [findDuplicates](https://github.com/zillow/webpack-stats-duplicates#arguments) API function, as well as the following:
1. `config` (`String`): The file path to the `.wsdrc` file. If not specified, it will attempt to load the file from the root of your project.