From f19b34b922e26211e75e0ce62e620f3973985893 Mon Sep 17 00:00:00 2001 From: naskya Date: Fri, 22 Sep 2023 18:27:02 +0000 Subject: [PATCH] update build/rebuild command --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 55fca8390..579352ef6 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,8 @@ "packageManager": "pnpm@8.7.6", "private": true, "scripts": { - "rebuild": "pnpm run clean && ./scripts/build-greet.sh && pnpm -r run build && pnpm run gulp", - "build": "./scripts/build-greet.sh && pnpm -r run build && pnpm run gulp", + "rebuild": "pnpm run clean && ./scripts/build-greet.sh && pnpm --filter !sw -r --parallel run build && pnpm --filter sw run build && pnpm run gulp", + "build": "./scripts/build-greet.sh && pnpm --filter !sw -r --parallel run build && pnpm --filter sw run build && pnpm run gulp", "start": "pnpm --filter backend run start", "start:test": "pnpm --filter backend run start:test", "init": "pnpm run migrate",