Files
wehub-resource-sync 3a28426bf4
Lint and Format Check / lint-and-format (push) Failing after 0s
Check Migrations / Check for duplicate migration numbers (push) Failing after 1s
CI Pre-merge Check / CI Pre-merge Check (push) Failing after 2m17s
chore: import upstream snapshot with attribution
2026-07-13 12:23:40 +08:00

25 lines
998 B
TypeScript

import path from 'node:path';
import { fileURLToPath } from 'node:url';
import { defineConfig } from 'vitest/config';
const currentDir = path.dirname(fileURLToPath(import.meta.url));
const dashboardSrcPath = path.resolve(currentDir, 'src');
export default defineConfig({
resolve: {
alias: {
'#app': path.resolve(dashboardSrcPath, 'app'),
'#assets': path.resolve(dashboardSrcPath, 'assets'),
'#components': path.resolve(dashboardSrcPath, 'components'),
'#features': path.resolve(dashboardSrcPath, 'features'),
'#layout': path.resolve(dashboardSrcPath, 'layout'),
'#lib': path.resolve(dashboardSrcPath, 'lib'),
'#navigation': path.resolve(dashboardSrcPath, 'navigation'),
'#router': path.resolve(dashboardSrcPath, 'router'),
'#types': path.resolve(dashboardSrcPath, 'types'),
'@insforge/shared-schemas': path.resolve(currentDir, '../shared-schemas/src'),
'@insforge/ui': path.resolve(currentDir, '../ui/src'),
},
},
});