Skip to content

Commit ef5faf2

Browse files
checkpoint
1 parent 6a88403 commit ef5faf2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
/// <reference types="vitest" />
21
import { defineConfig } from "vitest/config";
3-
import react from "@vitejs/plugin-react";
4-
import { resolve } from "path";
2+
import path from "path";
3+
import { fileURLToPath } from "url";
4+
5+
const __dirname = path.dirname(fileURLToPath(import.meta.url));
56

67
export default defineConfig({
7-
plugins: [react()],
88
test: {
99
environment: "jsdom",
1010
setupFiles: ["./tests/setup.ts"],
@@ -13,7 +13,7 @@ export default defineConfig({
1313
},
1414
resolve: {
1515
alias: {
16-
"@": resolve(__dirname, "./src"),
16+
"@": path.resolve(__dirname, "./src"),
1717
},
1818
},
1919
});

0 commit comments

Comments
 (0)