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 4816bc3 commit 303ff66Copy full SHA for 303ff66
vitest.config.ts
@@ -78,6 +78,8 @@ export default defineConfig({
78
},
79
esbuild: {
80
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
83
footer: `
84
if (typeof __vite_ssr_import_meta__ !== 'undefined') {
85
__vite_ssr_import_meta__.resolve = (path) => {
0 commit comments