diff options
| author | mokha <mokha@cisco.com> | 2018-09-29 11:01:36 -0600 |
|---|---|---|
| committer | mokha <mokha@cisco.com> | 2018-09-29 11:01:36 -0600 |
| commit | 51c53ad8c30817562246abf5d67e0d109d0667b9 (patch) | |
| tree | c52a05c11cda7c970f3d1101adda9ac51976c6c1 /package.json | |
| parent | 010873d1ae0e4f53b40aa85a4f6c6b4e8e8a2d59 (diff) | |
record build statistics
* https://survivejs.com/webpack/optimizing/build-analysis/
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json index ecb2671..1feaa7b 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "", "main": "index.js", "scripts": { + "build:stats": "webpack --env production --json > stats.json", "build": "webpack --env production", "start": "webpack-dev-server --env development", "test": "echo \"Error: no test specified\" && exit 1" |
