JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 88113
  • Score
    100M100P100Q156209F

Write the stats of a build to a file.

Package Exports

  • stats-webpack-plugin

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (stats-webpack-plugin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Stats plugin for webpack Version Build Status Dependency Status

Writes the stats of a build to a file.

Installation

$ npm install --save stats-webpack-plugin

Usage

var StatsPlugin = require('stats-webpack-plugin');

module.exports = {
  plugins: [
    new StatsPlugin(path.join(__dirname, 'build', 'stats.json'), {
      chunkModules: true,
      exclude: [/node_modules[\\\/]react/]
    })
  ]
};

API

new StatsPlugin(filename: string, [options])
  • filename the filename of the result file.
  • options options passed to stats.toJson

Meta

Contributors

License

Copyright (c) 2014 Daniel Perez Alvarez (unindented.org). This is free software, and may be redistributed under the terms specified in the LICENSE file.