aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2021-03-25 14:17:53 +0300
committerGravatar Vitaly Takmazov2021-03-25 14:17:53 +0300
commit29636c7526df189caf501e9cd23efebe728d3a33 (patch)
tree1a63aa935502cdbcde93cee83c3aa362f6db4601 /package.json
parent73e5ccd5cb13ff04c968ba1ac69f512dfedd9090 (diff)
Use NODE_ENV=production for production builds, development build by default
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index f6f647ce..93dedcd3 100644
--- a/package.json
+++ b/package.json
@@ -4,8 +4,8 @@
"private": true,
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
- "compile:css": "cross-env NODE_ENV=production postcss --verbose --map style.css.map src/main/assets/style.css -d src/main/resources/static/",
- "compile:js": "webpack --mode=production",
+ "compile:css": "postcss --verbose --map style.css.map src/main/assets/style.css -d src/main/resources/static/",
+ "compile:js": "webpack",
"compile": "concurrently \"npm run compile:css\" \"npm run compile:js\""
},
"repository": {