chore: Parallelize build (#5182

* Parallelize build

* Update package.json
This commit is contained in:
Tom Moor
2023-04-10 23:32:04 -04:00
committed by GitHub
parent a6f1d99b56
commit 9da99f6955
3 changed files with 78 additions and 24 deletions

View File

@@ -7,7 +7,7 @@
"clean": "rimraf build",
"copy:i18n": "mkdir -p ./build/shared/i18n && cp -R ./shared/i18n/locales ./build/shared/i18n",
"build:i18n": "i18next --silent '{shared,app,server,plugins}/**/*.{ts,tsx}' && yarn copy:i18n",
"build:server": "./build.sh",
"build:server": "node ./build.js",
"build": "yarn clean && yarn vite:build && yarn build:i18n && yarn build:server",
"start": "node ./build/server/index.js",
"dev": "NODE_ENV=development yarn concurrently -n api,collaboration -c \"blue,magenta\" \"node --inspect=0.0.0.0 build/server/index.js --services=collaboration,websockets,admin,web,worker\"",