aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2021-11-07 06:50:22 +0000
committerGravatar Vitaly Takmazov2021-11-07 06:50:22 +0000
commit0e3739a622c36378c43342ac20cf5d6c1ff703bc (patch)
tree33e1c5057046c8144f31e0e3b033fab037e515ab /package.json
parent8bac426e420e100ff68f0d9bf3a6be3f3f53ffb0 (diff)
Force production environment for NPM scripts
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index c6d149fc..d06f0c57 100644
--- a/package.json
+++ b/package.json
@@ -6,7 +6,7 @@
"test": "echo \"Error: no test specified\" && exit 1",
"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\""
+ "compile": "cross-env NODE_ENV=production concurrently \"npm run compile:css\" \"npm run compile:js\""
},
"repository": {
"type": "git",