Skip to content

Commit 303ff66

Browse files
committed
link to vitest issue
1 parent 4816bc3 commit 303ff66

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vitest.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ export default defineConfig({
7878
},
7979
esbuild: {
8080
include: ['**/*.ts', '**/*.cts'],
81+
// https://github.com/vitest-dev/vitest/issues/6953, workaround for import.meta.resolve not being supported in vitest/esbuild
82+
// that currently seems only fixed in prerelease version of vitest@4
8183
footer: `
8284
if (typeof __vite_ssr_import_meta__ !== 'undefined') {
8385
__vite_ssr_import_meta__.resolve = (path) => {

0 commit comments

Comments
 (0)