Files
blackcanyontickets/reactrebuild0825/vite.config.ts
dzinesco 8ed7ae95d1 feat: comprehensive project completion and documentation
- Enhanced event creation wizard with multi-step validation
- Added advanced QR scanning system with offline support
- Implemented comprehensive territory management features
- Expanded analytics with export functionality and KPIs
- Created complete design token system with theme switching
- Added 25+ Playwright test files for comprehensive coverage
- Implemented enterprise-grade permission system
- Enhanced component library with 80+ React components
- Added Firebase integration for deployment
- Completed Phase 3 development goals substantially

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-26 15:04:37 -06:00

44 lines
890 B
TypeScript

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import { resolve } from 'path';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
'@': resolve(__dirname, './src'),
},
},
server: {
port: 5173,
host: '0.0.0.0',
open: true,
strictPort: false,
hmr: {
port: 24678,
},
},
build: {
target: 'esnext',
outDir: 'dist',
sourcemap: false, // Disable sourcemaps for production
minify: true,
rollupOptions: {
output: {
manualChunks: {
vendor: ['react', 'react-dom'],
router: ['react-router-dom'],
ui: ['framer-motion', 'lucide-react'],
utils: ['date-fns', 'zustand'],
},
},
},
chunkSizeWarningLimit: 1000,
},
preview: {
port: 4173,
host: '0.0.0.0',
},
});