2016-01-11 18:07:33 +00:00
2015-07-05 15:10:18 -07:00
2015-07-05 15:35:26 -07:00
2015-10-01 17:54:35 +01:00
2015-07-05 15:35:33 -07:00
2016-02-21 13:00:44 +00:00
2016-07-05 10:03:32 +01:00
2016-01-11 18:07:33 +00:00
2015-05-08 10:38:01 +01:00
2016-07-05 10:06:28 +01:00
2016-06-07 11:40:32 +10:00

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('stats.json', {
      chunkModules: true,
      exclude: [/node_modules[\\\/]react/]
    })
  ]
};

Give webpack the --profile flag or set profile: true in webpack.config to get detailed timing measurements. See Webpack Profiling for more detail.

API

new StatsPlugin(path: string, [options])
  • path: The path of the result file, relative to your output folder.
  • 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%