Files
teknav-bak/global/vite.config.js
T
arsam e0eb399936 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.
2026-09-18 23:17:56 +03:30

23 lines
393 B
JavaScript

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'],
},
},
},
},
});