Files
REXNT/vite.config.js

19 lines
481 B
JavaScript
Raw Normal View History

2025-12-23 17:09:40 +03:00
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
2026-01-09 20:12:38 +03:00
plugins: [react()],
css: {
postcss: './postcss.config.js',
},
build: {
rollupOptions: {
output: {
manualChunks: {
'react-vendor': ['react', 'react-dom'],
'animation-vendor': ['three', 'styled-components', 'framer-motion'],
}
}
}
}
})