Files
wehub-resource-sync c48612c494
CI / E2E Tests (push) Has been cancelled
CI / Lint, Typecheck & Unit Tests (push) Has been cancelled
Docs Build / Build docs site (push) Has been cancelled
Publish @openmaic packages / Build, validate & publish (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:03:23 +08:00

17 lines
519 B
TypeScript

import { defineConfig } from 'vitest/config';
import { fileURLToPath } from 'node:url';
// Resolve `@openmaic/dsl` self-imports to the package source so `pnpm test` is
// standalone on a clean checkout (no `dist` build required). Consumers still
// resolve the package via its `exports` map → `dist` as before.
export default defineConfig({
resolve: {
alias: {
'@openmaic/dsl': fileURLToPath(new URL('./src/index.ts', import.meta.url)),
},
},
test: {
include: ['test/**/*.test.ts'],
},
});