dd2538f33e
Phase 1: Next.js App Router scaffold (TS strict, Tailwind v4, Vitest), ApiClient/MockApiClient boundary, /ask + /choose with 8 methodology cards, advanced dials drawer, root redirect, README quickstart. REQ-52..56 covered. Gates: typecheck/lint/test(20)/build green. Verify: PASS zero P0, 4 P1 flagged post-hoc.
20 lines
489 B
TypeScript
20 lines
489 B
TypeScript
import react from "@vitejs/plugin-react";
|
|
import { defineConfig } from "vitest/config";
|
|
import { fileURLToPath } from "node:url";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
test: {
|
|
environment: "jsdom",
|
|
globals: true,
|
|
css: false,
|
|
setupFiles: ["./src/test/setup.ts"],
|
|
include: ["src/**/*.test.{ts,tsx}"],
|
|
exclude: ["node_modules/**", ".next/**"],
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
"@": fileURLToPath(new URL("./src", import.meta.url)),
|
|
},
|
|
},
|
|
}); |