From 4bee5cd1d0a5a4f2eb3dc55db04afb21ba55414e Mon Sep 17 00:00:00 2001 From: Luke Scott Date: Wed, 25 Jul 2018 20:25:50 +1000 Subject: [PATCH] feat(package.json): minifies dist/index.js --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 76a3b30..39af73c 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "check-coverage": "nyc check-coverage --lines 100 --branches 100 --statements 100 --functions 100", "report-coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", "build": "npm-run-all --parallel build:*", - "build:main": "babel --copy-files --out-dir dist --ignore *.test.js src", + "build:main": "BABEL_ENV=production babel --copy-files --out-dir dist --ignore *.test.js src", "build:umd": "webpack --output-filename index.umd.js --mode production", "build:umd.min": "webpack --output-filename index.umd.min.js --mode production", "prebuild": "rimraf dist",