mirror of
https://github.com/MengMengCode/CLICD.git
synced 2026-12-06 21:26:01 +08:00
Use the Neutral New York component styles while preserving page composition, resource charts, icons and API contracts. Share accessible dialogs, confirmations, notifications and theme tokens across the panel. Validated with a clean frontend build, dependency audit, mocked interaction regressions, before/after layout comparisons and deployment checks on the test machine.
22 lines
457 B
TypeScript
22 lines
457 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import { fileURLToPath } from 'node:url'
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: { alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) } },
|
|
server: {
|
|
port: 3000,
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://localhost:8999',
|
|
changeOrigin: true,
|
|
}
|
|
}
|
|
},
|
|
build: {
|
|
outDir: 'dist',
|
|
target: 'es2022',
|
|
}
|
|
})
|