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 7cf2f13 commit 6f54691Copy full SHA for 6f54691
src/vitest.ts
@@ -7,5 +7,12 @@ export function vitestConfig() {
7
watch: false,
8
exclude: ['.trunk', ...configDefaults.exclude],
9
},
10
+ resolve: {
11
+ alias: [
12
+ // This is a bit odd because it's relative to CWD, not the
13
+ // vitest.config.ts file, but we don't know that path.
14
+ { find: '@', replacement: 'src' },
15
+ ],
16
+ },
17
});
18
}
0 commit comments