chore: vitest 配置添加alias

This commit is contained in:
roymondchen 2022-06-09 19:21:11 +08:00 committed by jia000
parent a9936b5276
commit d97e265444

View File

@ -28,6 +28,11 @@ export default defineConfig({
alias: {
'@editor': r('./packages/editor/src'),
'@form': r('./packages/form/src'),
'@tmagic/core': r('./packages/core/src'),
'@tmagic/utils': r('./packages/utils/src'),
'@tmagic/editor': r('./packages/editor/src'),
'@tmagic/stage': r('./packages/stage/src'),
'@tmagic/schema': r('./packages/schema/src'),
},
},
});