Feature/turbopack * . * . * pin import-in-the-middle * update marker * revert back to using *.graphql.ts Approved-by: Linus Flood
27 lines
584 B
TypeScript
27 lines
584 B
TypeScript
import react from "@vitejs/plugin-react"
|
|
import tsconfigPaths from "vite-tsconfig-paths"
|
|
import { defineConfig } from "vitest/config"
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
tsconfigPaths() as any,
|
|
react({
|
|
babel: {
|
|
plugins: [
|
|
[
|
|
"formatjs",
|
|
{
|
|
idInterpolationPattern: "[sha512:contenthash:base64:6]",
|
|
},
|
|
],
|
|
],
|
|
},
|
|
}),
|
|
],
|
|
test: {
|
|
environment: "jsdom",
|
|
setupFiles: ["./vitest-setup.ts"],
|
|
},
|
|
})
|