From 35ca56437ced6f3c87bad5ee245b8a84a6a7fc23 Mon Sep 17 00:00:00 2001 From: vince Date: Tue, 9 Jul 2024 14:38:47 +0800 Subject: [PATCH] chore: update scripts --- apps/backend-mock/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/backend-mock/package.json b/apps/backend-mock/package.json index e8b28c85..237f1775 100644 --- a/apps/backend-mock/package.json +++ b/apps/backend-mock/package.json @@ -10,7 +10,7 @@ "dev": "pnpm run start:dev", "start:dev": "cross-env NODE_ENV=development DEBUG=true nest start --watch", "start": "cross-env NODE_ENV=development node dist/main", - "start:prod": "cross-env NODE_ENV=production node dist/main" + "start:prod": "nest build && cross-env NODE_ENV=production node dist/main" }, "dependencies": { "@nestjs/common": "^10.3.10",