mirror of
https://github.com/anand34577/ferrum.git
synced 2026-09-11 21:38:59 +00:00
18 lines
365 B
TypeScript
18 lines
365 B
TypeScript
import path from "node:path"
|
|
import react from "@vitejs/plugin-react"
|
|
import { defineConfig } from "vitest/config"
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(import.meta.dirname, "./src"),
|
|
},
|
|
},
|
|
test: {
|
|
environment: "jsdom",
|
|
globals: true,
|
|
setupFiles: ["./src/test/setup.ts"],
|
|
},
|
|
})
|