Files
ragusaitweb/vite.config.ts
2026-01-21 22:38:10 +01:00

23 lines
433 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
build: {
outDir: 'build',
emptyOutDir: true,
rollupOptions: {
output: {
manualChunks: {
'three': ['three', '@react-three/fiber', '@react-three/drei'],
'motion': ['motion'],
},
},
},
},
server: {
port: 3000,
open: true
}
})