gulp-webpack-stats-duplicates
v1.2.0
Published
Gulp plugin for finding duplicate modules in your webpack stats.json
Downloads
5
Readme
gulp-webpack-stats-duplicates
A gulp plugin for the 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 API function, as well as the following:
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.