mirror of
https://github.com/ant-design/ant-design-mini.git
synced 2024-10-23 08:44:21 +08:00
448bfc323d
* feat: calendar组件去掉hook实现 * feat: demo去hook相关的依赖
22 lines
446 B
TypeScript
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',
|
|
},
|
|
},
|
|
});
|