File tree Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ import rootConfig from "../../vitest.config.js";
44export default mergeConfig (
55 rootConfig ,
66 defineProject ( {
7+ resolve : {
8+ conditions : [ "@zod/source" , "default" ] ,
9+ } ,
710 test : {
811 typecheck : {
912 tsconfig : "./tsconfig.test.json" ,
Original file line number Diff line number Diff line change @@ -6,7 +6,14 @@ const __dirname = dirname(fileURLToPath(import.meta.url));
66
77export default defineConfig ( {
88 resolve : {
9- conditions : [ "@zod/source" ] ,
9+ conditions : [ "@zod/source" , "default" ] ,
10+ externalConditions : [ "@zod/source" , "default" ] ,
11+ } ,
12+ ssr : {
13+ resolve : {
14+ conditions : [ "@zod/source" , "default" ] ,
15+ externalConditions : [ "@zod/source" , "default" ] ,
16+ } ,
1017 } ,
1118 test : {
1219 projects : [ "packages/*" ] ,
Original file line number Diff line number Diff line change @@ -6,7 +6,13 @@ const __dirname = dirname(fileURLToPath(import.meta.url));
66
77export default defineConfig ( {
88 resolve : {
9- conditions : [ "@zod/source" ] ,
9+ conditions : [ "@zod/source" , "default" ] ,
10+ } ,
11+ ssr : {
12+ resolve : {
13+ conditions : [ "@zod/source" , "default" ] ,
14+ externalConditions : [ "@zod/source" , "default" ] ,
15+ } ,
1016 } ,
1117 test : {
1218 watch : false ,
You can’t perform that action at this time.
0 commit comments