summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authormokha <mokha@cisco.com>2018-09-29 11:01:36 -0600
committermokha <mokha@cisco.com>2018-09-29 11:01:36 -0600
commit51c53ad8c30817562246abf5d67e0d109d0667b9 (patch)
treec52a05c11cda7c970f3d1101adda9ac51976c6c1 /package.json
parent010873d1ae0e4f53b40aa85a4f6c6b4e8e8a2d59 (diff)
record build statistics
* https://survivejs.com/webpack/optimizing/build-analysis/
Diffstat (limited to 'package.json')
-rw-r--r--package.json1
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"