This repository has been archived on 2026-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
confessions-of-grace/frontend/vite.config.ts

20 lines
559 B
TypeScript

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import tailwindcss from '@tailwindcss/vite';
// dist/ is copied into the Spring jar's static/ by platform-parent's managed build.
export default defineConfig({
base: '/',
plugins: [react(), tailwindcss()],
build: { outDir: 'dist', emptyOutDir: true },
server: {
port: 5173,
proxy: {
'/api': 'http://127.0.0.1:8080',
'/oauth2': 'http://127.0.0.1:8080',
'/login': 'http://127.0.0.1:8080',
'/logout': 'http://127.0.0.1:8080',
},
},
});