fork of hey-api/openapi-ts because I need some additional things
1import swc from 'unplugin-swc';
2import { defineProject } from 'vitest/config';
3
4export default defineProject({
5 plugins: [swc.vite()],
6 resolve: {
7 alias: {
8 src: new URL('./src', import.meta.url).pathname,
9 },
10 },
11 test: {
12 environment: 'node',
13 globals: true,
14 include: ['test/**/*.test.ts'],
15 },
16});