Fix Tailwind config: add @tailwindcss/vite plugin and use bun server for production
All checks were successful
Build and Push Frontend / build (push) Successful in 19s

- Add @tailwindcss/vite plugin for proper Tailwind processing
- Change 'start' script from 'vite preview' to 'bun server.ts' (production-ready)
- Remove postcss.config.mjs (handled by Vite plugin)
- server.ts already configured to serve from dist/ directory

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Hector Ros
2026-01-20 01:51:15 +01:00
parent 391bb7e9a8
commit 90615832dd
4 changed files with 7 additions and 7 deletions

View File

@@ -5,10 +5,11 @@
"private": true,
"scripts": {
"dev": "vite",
"start": "vite preview",
"start": "bun server.ts",
"build": "vite build"
},
"devDependencies": {
"@tailwindcss/vite": "^4.1.18",
"@types/bun": "latest",
"@types/react": "^19.2.8",
"@types/react-dom": "^19.2.3",