Skip to content

Commit 3a6d866

Browse files
committed
simplify
1 parent 676c234 commit 3a6d866

File tree

2 files changed

+5
-22
lines changed

2 files changed

+5
-22
lines changed

vite.config.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,12 @@ export default defineConfig({
1919
sourcemap: "inline",
2020
target: "esnext"
2121
},
22-
define: {
23-
// required if u have: `process is undefined`
24-
// while loading react jsoncomponents
25-
"process.env": {},
26-
},
2722
test: {
2823
include: ["**/*.{test,spec}.{js,jsx,ts,tsx,fs}"],
2924
exclude: [...configDefaults.exclude, "dist", ".idea", ".git", ".cache"],
30-
environment: "jsdom"
31-
},
25+
environment: "jsdom",
26+
server: {
27+
deps: { inline: true }
28+
}
29+
}
3230
});

vitest.config.ts

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

0 commit comments

Comments
 (0)