2026-02-14 21:13:12 -07:00
|
|
|
import { defineConfig } from 'vite'
|
|
|
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
|
|
|
|
2026-02-15 12:56:39 -07:00
|
|
|
|
|
|
|
|
// https://vitejs.dev/config/
|
2026-02-14 21:13:12 -07:00
|
|
|
export default defineConfig({
|
|
|
|
|
plugins: [react(),
|
|
|
|
|
tailwindcss()],
|
2026-02-15 12:56:39 -07:00
|
|
|
server: {
|
|
|
|
|
host: true,
|
|
|
|
|
port: 3000,
|
|
|
|
|
strictPort: true,
|
|
|
|
|
},
|
|
|
|
|
preview: {
|
|
|
|
|
host: true,
|
|
|
|
|
port: 3000,
|
|
|
|
|
strictPort: true,
|
|
|
|
|
},
|
|
|
|
|
build: {
|
|
|
|
|
outDir: 'dist',
|
|
|
|
|
sourcemap: false,
|
|
|
|
|
minify: 'esbuild',
|
|
|
|
|
rollupOptions: {
|
|
|
|
|
output: {
|
|
|
|
|
manualChunks: {
|
|
|
|
|
vendor: ['react', 'react-dom'],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
2026-02-14 21:13:12 -07:00
|
|
|
})
|