2026-06-11 19:56:20 +05:30

24 lines
476 B
TypeScript

import path from 'path';
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import proxyOptions from './proxyOptions';
export default defineConfig({
plugins: [react()],
server: {
port: 8081,
host: '0.0.0.0',
proxy: proxyOptions,
},
resolve: {
alias: {
'@': path.resolve(__dirname, 'src'),
},
},
build: {
outDir: '../project_management/public/pm_app',
emptyOutDir: true,
target: 'es2015',
},
});