Re-add loose-envify and browserify to build

This commit is contained in:
Jerko Steiner 2019-11-19 23:12:18 -03:00
parent 536feade9e
commit dbfc4ea56d

View File

@ -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/",