From e0eb399936dee811ff4c7bee3145302c2a5d9061 Mon Sep 17 00:00:00 2001 From: arsam Date: Fri, 18 Sep 2026 23:17:56 +0330 Subject: [PATCH] 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. --- global/vite.config.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 global/vite.config.js diff --git a/global/vite.config.js b/global/vite.config.js new file mode 100644 index 0000000..ad8b00d --- /dev/null +++ b/global/vite.config.js @@ -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'], + }, + }, + }, + }, +});