From 869c37926444b9828204d47c4a8aa419e283462b Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Fri, 17 Jul 2020 14:54:59 +0100 Subject: [PATCH] Remove webpack -p option This option is redundant, as it means the same as `--mode production`, and it prevents us from tweaking the mode via `CI_PACKAGE`. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0f07d7ab3c..5789f2e0d5 100644 --- a/package.json +++ b/package.json @@ -42,8 +42,8 @@ "build:genfiles": "yarn reskindex && yarn build:res && yarn build:jitsi", "build:modernizr": "modernizr -c .modernizr.json -d src/vector/modernizr.js", "build:compile": "babel -d lib --verbose --extensions \".ts,.js,.tsx\" src", - "build:bundle": "webpack -p --progress --bail --mode production", - "build:bundle-stats": "webpack -p --progress --bail --mode production --json > webpack-stats.json", + "build:bundle": "webpack --progress --bail --mode production", + "build:bundle-stats": "webpack --progress --bail --mode production --json > webpack-stats.json", "build:types": "tsc --emitDeclarationOnly --jsx react", "dist": "scripts/package.sh", "start": "concurrently --kill-others-on-fail --prefix \"{time} [{name}]\" -n reskindex,reskindex-react,res,riot-js \"yarn reskindex:watch\" \"yarn reskindex:watch-react\" \"yarn start:res\" \"yarn start:js\"",