feat: vite-tsconfig-paths 추가로 타입 경로 설정 개선

This commit is contained in:
2025-12-28 16:43:33 +00:00
parent 45c238ab38
commit 62c1c0f9c6
3 changed files with 12 additions and 0 deletions
+1
View File
@@ -16,6 +16,7 @@
},
"devDependencies": {
"tsdown": "^0.18.3",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^4.0.16"
}
}
+8
View File
@@ -1,6 +1,14 @@
import path from 'node:path';
import { defineConfig } from 'vitest/config';
import tsconfigPaths from 'vite-tsconfig-paths';
export default defineConfig({
plugins: [
tsconfigPaths({
projects: [path.resolve(__dirname, '../../tsconfig.paths.json')],
}),
],
test: {
environment: 'node',
globals: true,