Skip to content

Commit 2fc302e

Browse files
Fix Vite configs causing failures; remove duplicate Playwright Action
1 parent 5753076 commit 2fc302e

5 files changed

Lines changed: 12 additions & 98 deletions

File tree

.github/workflows/playwright.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

package-lock.json

Lines changed: 0 additions & 69 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"@vitejs/plugin-react": "^6.0.2",
3131
"jsdom": "^29.1.1",
3232
"typescript": "6.0.3",
33-
"vite-tsconfig-paths": "^6.1.1",
3433
"vitest": "^4.1.8"
3534
}
3635
}

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"target": "ES2017",
44
"lib": ["dom", "dom.iterable", "esnext"],
55
"allowJs": true,
6+
"baseUrl": ".",
67
"skipLibCheck": true,
78
"strict": false,
89
"noEmit": true,

vitest.config.mts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,18 @@ import react from "@vitejs/plugin-react";
33
import tsconfigPaths from "vite-tsconfig-paths";
44

55
export default defineConfig({
6-
plugins: [tsconfigPaths(), react()],
6+
plugins: [tsconfigPaths({
7+
projects: ["./tsconfig.json"],
8+
}), react()],
9+
resolve: {
10+
tsconfigPaths: true,
11+
},
712
test: {
13+
exclude: [
14+
"**/node_modules/**",
15+
"**/dist/**",
16+
"**/e2e/**",
17+
],
818
environment: "jsdom",
919
},
1020
});

0 commit comments

Comments
 (0)