2015-05-17 12:04:14 +01:00
2015-05-17 12:04:14 +01:00
2015-05-17 12:04:14 +01:00
2015-05-17 12:04:14 +01:00
2015-05-17 12:04:14 +01:00
2015-05-17 12:04:14 +01:00
2015-05-17 12:04:14 +01:00
2015-05-08 10:38:01 +01:00
2015-05-17 12:15:06 +01:00
2015-05-17 12:04:14 +01:00

Stats plugin for webpack 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.

S
Description
Write the stats of a build to a file.
Readme MIT
69 KiB
0 Stars 1 Watchers 0 Forks
Languages
JavaScript 100%