Migrace sestavování klienta na Vite

This commit is contained in:
mates committed 2024-12-11 22:54:57 +01:00
1 parent b0d8a1a830
commit 18f2b72133
16 files changed
+5786 -11889

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import viteTsconfigPaths from 'vite-tsconfig-paths'
export default defineConfig({
// depending on your application, base can also be "/"
base: '',
plugins: [react(), viteTsconfigPaths()],
server: {
open: true,
port: 3000,
proxy: {
'/api': 'http://localhost:3001',
}
},
})