13 lines
307 B
TypeScript
13 lines
307 B
TypeScript
import { viteCommonjs } from '@originjs/vite-plugin-commonjs';
|
|
import tsconfigPaths from 'vite-tsconfig-paths';
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
typecheck: {
|
|
tsconfig: 'tests/tsconfig.json',
|
|
},
|
|
},
|
|
plugins: [viteCommonjs(), tsconfigPaths()],
|
|
});
|