From 48aab77424da2f3456583cdb09c86890d9ddf445 Mon Sep 17 00:00:00 2001 From: Michael Weimann Date: Thu, 22 Aug 2024 16:30:29 +0200 Subject: [PATCH] Replace old webpack-dev-server https arg There was a breaking change with webpack-dev-server 5. The --https argument was replaced with --server-type https. Signed-off-by: Michael Weimann --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6338e3a55c..f187f3c5b2 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "build:module_system": "ts-node --project ./tsconfig.module_system.json module_system/scripts/install.ts", "dist": "scripts/package.sh", "start": "concurrently --kill-others-on-fail --prefix \"{time} [{name}]\" -n modules,res \"yarn build:module_system\" \"yarn build:res\" && concurrently --kill-others-on-fail --prefix \"{time} [{name}]\" -n res,element-js \"yarn start:res\" \"yarn start:js\"", - "start:https": "concurrently --kill-others-on-fail --prefix \"{time} [{name}]\" -n res,element-js \"yarn start:res\" \"yarn start:js --https\"", + "start:https": "concurrently --kill-others-on-fail --prefix \"{time} [{name}]\" -n res,element-js \"yarn start:res\" \"yarn start:js --server-type https\"", "start:res": "ts-node scripts/copy-res.ts -w", "start:js": "webpack serve --output-path webapp --output-filename=bundles/_dev_/[name].js --output-chunk-filename=bundles/_dev_/[name].js --mode development", "lint": "yarn lint:types && yarn lint:js && yarn lint:style && yarn lint:workflows",