0.5.0 • Published 7 years ago

@silesia-corporation/webpack-css-stats-plugin v0.5.0

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

webpack-css-stats-plugin

Plugin creates HTML and JSON files with CSS files stats.

Usage

  1. Install webpack-css-stats-plugin as a dev-dependency:
npm install --save-dev @silesia-corporation/webpack-css-stats-plugin
  1. Enable the plugin by adding it to your .webpack.config.js:
plugins: [
  new CssReportGeneratorPlugin({
      disabled: false // Optional: disable plugin
      outputSuffix: '-CSSRaport' // Required: suffix for generated files
      outputPath: 'path' // Required: output path
      inputFilesPrefixes: ['example', 'example2'], // Required: input files prefixes
      inputPath: 'path', // Required: input path
      reporters: ['html, 'json'] // Optional: report extensions default value ['html, 'json']
  })
]