snp-connection-monitoring/frontend/vite.config.ts
HYOJIN 38d7ac5642 feat: 프론트엔드 통합 프로젝트 초기 구조 구성
- Spring Boot 3.2.1 백엔드 (com.gcsc.connection, 포트 8042, context /snp-connection)
- React 19 + TypeScript + Vite 7 + Tailwind CSS 4 프론트엔드
- frontend-maven-plugin 통합 빌드 설정
- 팀 워크플로우 v1.6.1 동기화

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 10:56:10 +09:00

22 lines
469 B
TypeScript

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import tailwindcss from '@tailwindcss/vite';
export default defineConfig({
plugins: [react(), tailwindcss()],
server: {
port: 5173,
proxy: {
'/snp-connection/api': {
target: 'http://localhost:8042',
changeOrigin: true,
},
},
},
base: '/snp-connection/',
build: {
outDir: '../src/main/resources/static',
emptyOutDir: true,
},
});