Files
Reactive-Resume/apps/web/vitest.config.ts
T
Amruth Pillai 36f2477c2a build(web): use Lingui's native macro transform instead of Babel
The Lingui Vite plugin transforms macros itself, so the Babel preset and
its plugin dependency go. TanStack Router's split-route query hides the
`.tsx` extension, so the parser is told to read TSX explicitly.
2026-10-01 23:00:52 +02:00

12 lines
429 B
TypeScript

import { fileURLToPath } from "node:url";
import { lingui } from "@lingui/vite-plugin";
import tailwindcss from "@tailwindcss/vite";
// @boundaries-ignore root shared Vitest config
import { createVitestProjectConfig } from "../../vitest.shared.mts";
export default createVitestProjectConfig({
name: "web",
dirname: fileURLToPath(new URL(".", import.meta.url)),
plugins: [tailwindcss(), lingui({ macroTransform: true })],
});