mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-10-04 02:33:47 +10:00
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.
12 lines
429 B
TypeScript
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 })],
|
|
});
|