From a4f9e7adad81b7a5bbdc57d7ffa1bcc87d416175 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Thu, 7 Jul 2022 21:19:08 +0200 Subject: [PATCH] Build the module system on `yarn start` (#22773) So developers can actually run the app with an empty modules file. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 279d27c12f..ad358a1eda 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "build:bundle-stats": "webpack --progress --bail --mode production --json > webpack-stats.json", "build:module_system": "tsc --project ./tsconfig.module_system.json && node ./lib/module_system/scripts/install.js", "dist": "scripts/package.sh", - "start": "concurrently --kill-others-on-fail --prefix \"{time} [{name}]\" -n res,element-js \"yarn start:res\" \"yarn start:js\"", + "start": "yarn build:module_system && 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:res": "yarn build:jitsi && node scripts/copy-res.js -w", "start:js": "webpack-dev-server --host=0.0.0.0 --output-filename=bundles/_dev_/[name].js --output-chunk-filename=bundles/_dev_/[name].js -w --mode development --disable-host-check --hot",