Fix frontend build: compile React bundle properly
All checks were successful
Build and Push Frontend / build (push) Successful in 22s

- Build TypeScript/React to JavaScript bundle
- Serve compiled main.js and main.css
- Update HTML to load compiled assets
- Add build step to Dockerfile

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Hector Ros
2026-01-20 01:34:38 +01:00
parent 137f1fe110
commit 3fc9b01940
3 changed files with 6 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
"scripts": {
"dev": "bun --hot server.ts",
"start": "bun server.ts",
"build": "bun build public/index.html --outdir ./dist --target browser"
"build": "bun build src/main.tsx --outdir ./public/dist --target browser --minify"
},
"devDependencies": {
"@types/bun": "latest",