feat: tsconfig 설정 개선 및 경로 추가

This commit is contained in:
2025-12-28 12:37:49 +00:00
parent fa22562bb1
commit 4cab4d55c5
15 changed files with 104 additions and 9 deletions
+6 -5
View File
@@ -1,13 +1,14 @@
import path from 'node:path';
import { defineConfig } from 'vitest/config';
import tsconfigPaths from 'vite-tsconfig-paths';
export default defineConfig({
resolve: {
alias: {
'@sammo-ts/common': path.resolve(__dirname, '../common/src/index.ts'),
},
},
plugins: [
tsconfigPaths({
projects: [path.resolve(__dirname, '../../tsconfig.base.json')],
}),
],
test: {
environment: 'node',
globals: true,