1.2.0 • Published 7 years ago

gulp-webpack-stats-duplicates v1.2.0

Weekly downloads
242
License
ISC
Repository
github
Last release
7 years ago

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:

  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.