feat: initialize reactjs project using vite

This commit is contained in:
Melvin Ragusa
2026-01-21 22:38:10 +01:00
parent 95ca6f57e7
commit eccc359782
52 changed files with 9556 additions and 116 deletions

22
vite.config.ts Normal file
View File

@@ -0,0 +1,22 @@
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
}
})