fix(container): exclude generated files from pruned build

This commit is contained in:
vince 2026-06-20 07:12:46 +02:00
parent 3e46a2c0cc
commit 74e70cf714
3 changed files with 35 additions and 1 deletions

View file

@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "bun src/server/dev.ts",
"build": "vite build && bun build src/server/index.ts --target bun --outdir build",
"build": "rm -rf build && vite build && bun build src/server/index.ts --target bun --outdir build",
"preview": "HOST=0.0.0.0 PORT=4173 bun build/index.js",
"check": "tsc --noEmit",
"test": "vitest run",