diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-02-16 15:03:44 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-02-18 12:28:35 +0100 |
commit | 01b6f5928e76fd9c02af897b9b033638a6a87d07 (patch) | |
tree | dc9da58d151fe63ff0f068893040982bbf14e0bb /package.json | |
parent | 0b7b938a60ad9a04712278bc5b8e543f07204200 (diff) | |
download | nextcloud-server-01b6f5928e76fd9c02af897b9b033638a6a87d07.tar.gz nextcloud-server-01b6f5928e76fd9c02af897b9b033638a6a87d07.zip |
Move general webpack to NODE_ENV
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package.json b/package.json index c8f29a6369b..d16af17b895 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,9 @@ "test": "tests" }, "scripts": { - "build": "webpack --progress --hide-modules --config webpack.prod.js", - "dev": "webpack --progress --watch --config webpack.dev.js", - "watch": "webpack --progress --watch --config webpack.dev.js" + "build": "NODE_ENV=production webpack --progress --hide-modules --config webpack.prod.js", + "dev": "NODE_ENV=development webpack --progress --watch --config webpack.dev.js", + "watch": "NODE_ENV=development webpack --progress --watch --config webpack.dev.js" }, "repository": { "type": "git", |