ant-design-mini/vite.config.ts
homi 448bfc323d
Detele functional mini (#1204)
* feat: calendar组件去掉hook实现

* feat: demo去hook相关的依赖
2024-06-13 21:21:47 +08:00

22 lines
446 B
TypeScript

// vite.config.ts
import { defineConfig } from 'vitest/config';
export default defineConfig({
resolve: {
alias: {
tests: new URL('tests', import.meta.url).pathname,
'compiled-alipay': new URL('./compiled/alipay/src', import.meta.url)
.pathname,
},
},
test: {
watch: true,
globals: true,
setupFiles: ['./tests/setup.ts'],
coverage: {
all: false,
provider: 'istanbul',
},
},
});