17 lines
320 B
TypeScript
17 lines
320 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(__dirname, "./src"),
|
||
|
|
},
|
||
|
|
tsconfigPaths: true,
|
||
|
|
},
|
||
|
|
test: {
|
||
|
|
environment: "jsdom",
|
||
|
|
},
|
||
|
|
})
|