import { defineConfig } from 'vitest/config'; export default defineConfig({ test: { globals: false, environment: 'node', include: ['tests/**/*.test.ts'], exclude: ['node_modules', 'dist'], }, resolve: { alias: { // Allow .js imports to resolve to .ts files }, }, esbuild: { target: 'es2022', }, });