19 lines
481 B
JavaScript
19 lines
481 B
JavaScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
css: {
|
|
postcss: './postcss.config.js',
|
|
},
|
|
build: {
|
|
rollupOptions: {
|
|
output: {
|
|
manualChunks: {
|
|
'react-vendor': ['react', 'react-dom'],
|
|
'animation-vendor': ['three', 'styled-components', 'framer-motion'],
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}) |