We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62ab531 commit 6f6dc94Copy full SHA for 6f6dc94
vitest.config.ts
@@ -1,7 +1,14 @@
1
-import { defaultServerConditions, defineConfig } from "vite";
+import {
2
+ defaultClientConditions,
3
+ defaultServerConditions,
4
+ defineConfig,
5
+} from "vite";
6
7
export default defineConfig({
8
// resolve webstudio condition in tests
9
+ resolve: {
10
+ conditions: ["webstudio", ...defaultClientConditions],
11
+ },
12
ssr: {
13
resolve: {
14
conditions: ["webstudio", ...defaultServerConditions],
0 commit comments