Fix frontend build: compile React bundle properly
All checks were successful
Build and Push Frontend / build (push) Successful in 22s
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user