Migrate to Vite for proper production builds with code splitting and optimization
All checks were successful
Build and Push Frontend / build (push) Successful in 23s
All checks were successful
Build and Push Frontend / build (push) Successful in 23s
Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
10
package.json
10
package.json
@@ -4,16 +4,18 @@
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "bun --hot server.ts",
|
||||
"start": "bun server.ts",
|
||||
"build": "bun build src/main.tsx --outdir ./public/dist --target browser --minify"
|
||||
"dev": "vite",
|
||||
"start": "vite preview",
|
||||
"build": "vite build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bun": "latest",
|
||||
"@types/react": "^19.2.8",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@vitejs/plugin-react": "^5.1.2",
|
||||
"autoprefixer": "^10.4.23",
|
||||
"postcss": "^8.5.6"
|
||||
"postcss": "^8.5.6",
|
||||
"vite": "^7.3.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": "^5"
|
||||
|
||||
Reference in New Issue
Block a user