diff --git a/vitest.config.ts b/vitest.config.ts index 4d62d88..90aacbf 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -1,3 +1,4 @@ +import { resolve } from 'path'; import { defineConfig } from 'vitest/config'; import { name } from './package.json'; @@ -8,8 +9,7 @@ export default defineConfig({ globals: true, css: true, alias: { - '@': './src', - [name]: './src', + [name]: resolve(__dirname, './src'), }, coverage: { reporter: ['text', 'text-summary', 'json', 'lcov'],