Import project configuration: global/vite.config.js

Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality.
This commit is contained in:
arsam
2026-09-18 23:17:56 +03:30
parent 05345083cb
commit e0eb399936
+22
View File
@@ -0,0 +1,22 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
export default defineConfig({
plugins: [react()],
server: {
port: 3011,
proxy: {
'/api': 'http://localhost:3010',
},
},
build: {
outDir: 'dist',
rollupOptions: {
output: {
manualChunks: {
react: ['react', 'react-dom'],
},
},
},
},
});