aboutsummaryrefslogtreecommitdiff
path: root/vite.config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'vite.config.ts')
-rw-r--r--vite.config.ts26
1 files changed, 0 insertions, 26 deletions
diff --git a/vite.config.ts b/vite.config.ts
deleted file mode 100644
index 4cb4be2..0000000
--- a/vite.config.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-import { defineConfig } from 'vite'
-import react from '@vitejs/plugin-react-swc'
-
-// https://vitejs.dev/config/
-export default defineConfig({
- plugins: [react()],
- server: {
- proxy: {
- '^/api': {
- target: 'http://localhost:7071',
- changeOrigin: true
- }
- }
- },
- build: {
- rollupOptions: {
- output: {
- manualChunks: {
- react: ['react', 'react-dom'],
- router: ['react-router'],
- leaflet: ['leaflet', 'react-leaflet', 'leaflet.locatecontrol', 'leaflet.markercluster']
- }
- }
- }
- }
-})