From 732fcd0577f50bc8cc30c5f192f6cc9dff99be06 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sun, 16 Nov 2025 04:34:09 +0000 Subject: [PATCH] Restore build:api with simpler approach cgen-59ee667264a241338770c312573f45f5 --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9e01f413..98911bf2 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,9 @@ }, "scripts": { "dev": "vite", - "build": "vite build", + "build": "npm run build:api && npm run build:client", + "build:client": "vite build", + "build:api": "node build-api.js", "test": "vitest --run", "format.fix": "prettier --write .", "typecheck": "tsc"