From dbfc4ea56d0801622ea3d1b3f48e3922f737ce60 Mon Sep 17 00:00:00 2001 From: Jerko Steiner Date: Tue, 19 Nov 2019 23:12:18 -0300 Subject: [PATCH] Re-add loose-envify and browserify to build --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 70f18e8..3607bb2 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "test": "jest", "test:coverage": "jest --coverage", "test:watch": "jest --watch", - "js": "browserify ./lib/client/index.js -o ./build/index.prod.js", + "js": "browserify -g [ loose-envify purge --NODE_ENV production ] -t babelify ./lib/client/index.js -o ./build/index.prod.js", "js:watch": "watchify -p tsify ./src/client/index.tsx -v -d -o ./build/index.js", "js:uglify": "minify build/index.prod.js -o build/index.js", "css": "node-sass ./src/scss/style.scss -o ./build/",