19 lines
356 B
TypeScript
19 lines
356 B
TypeScript
|
|
import { defineConfig } from 'vite';
|
||
|
|
import react from '@vitejs/plugin-react';
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
plugins: [react()],
|
||
|
|
optimizeDeps: {
|
||
|
|
exclude: ['lucide-react'],
|
||
|
|
},
|
||
|
|
build: {
|
||
|
|
sourcemap: true,
|
||
|
|
rollupOptions: {
|
||
|
|
output: {
|
||
|
|
manualChunks: {
|
||
|
|
vendor: ['react', 'react-dom'],
|
||
|
|
},
|
||
|
|
},
|
||
|
|
},
|
||
|
|
},
|
||
|
|
});
|