16 lines
402 B
JavaScript
16 lines
402 B
JavaScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
build: {
|
|
rollupOptions: {
|
|
output: {
|
|
manualChunks: {
|
|
three: ['three', '@react-three/fiber', '@react-three/drei'],
|
|
motion: ['motion'],
|
|
},
|
|
},
|
|
},
|
|
},
|
|
});
|