Explorar el Código

📦 build(scripts): update build script to include api build step

- modify build script to run build:api after build:server
- ensure complete build process includes client, server and api components
yourname hace 7 meses
padre
commit
61ee98ef86
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -5,7 +5,7 @@
   "type": "module",
   "scripts": {
     "dev": "PORT=8080 node server",
-    "build": "npm run build:client && npm run build:server",
+    "build": "npm run build:client && npm run build:server && npm run build:api",
     "build:client": "vite build --outDir dist/client --manifest",
     "build:server": "vite build --ssr src/server/index.tsx --outDir dist/server",
     "build:api": "vite build --ssr src/server/api.ts --outDir dist/api",