diff options
author | Vitaly Takmazov | 2021-03-25 14:17:53 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2021-03-25 14:17:53 +0300 |
commit | 29636c7526df189caf501e9cd23efebe728d3a33 (patch) | |
tree | 1a63aa935502cdbcde93cee83c3aa362f6db4601 /package.json | |
parent | 73e5ccd5cb13ff04c968ba1ac69f512dfedd9090 (diff) |
Use NODE_ENV=production for production builds, development build by default
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 4 |
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": { |