This commit is contained in:
2026-08-10 12:01:03 +07:00
commit 265b1202ad
95 changed files with 27718 additions and 0 deletions

22
vite.config.ts Normal file
View File

@@ -0,0 +1,22 @@
/// <reference types="vitest/config" />
import react from '@vitejs/plugin-react';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [react()],
server: {
port: 5173,
proxy: {
'/auth': { target: 'http://127.0.0.1:8000', changeOrigin: true },
'/plans': { target: 'http://127.0.0.1:8000', changeOrigin: true },
'/orders': { target: 'http://127.0.0.1:8000', changeOrigin: true },
'/users': { target: 'http://127.0.0.1:8000', changeOrigin: true },
},
},
test: {
globals: true,
environment: 'jsdom',
setupFiles: ['./src/test/setup.ts'],
css: false,
},
});