f64688a16f
Bootstraps the web/ SPA: Vite 6 + React 19 + TypeScript 5.8, Vitest with jsdom, @testing-library/react, and a green smoke test asserting the App renders its Collection heading. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
20 lines
439 B
TypeScript
20 lines
439 B
TypeScript
/// <reference types="vitest/config" />
|
|
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
proxy: {
|
|
"/api": "http://localhost:8080",
|
|
"/api-docs": "http://localhost:8080",
|
|
"/health": "http://localhost:8080",
|
|
},
|
|
},
|
|
test: {
|
|
environment: "jsdom",
|
|
globals: true,
|
|
setupFiles: ["./src/test/setup.ts"],
|
|
},
|
|
});
|