From 29636c7526df189caf501e9cd23efebe728d3a33 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 25 Mar 2021 14:17:53 +0300 Subject: Use NODE_ENV=production for production builds, development build by default --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package.json') 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": { -- cgit v1.2.3