Skip to content

Commit

Permalink
fix: 声明 antdv 的路径
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanhen2013 authored Oct 25, 2024
1 parent 77ce980 commit 5c643db
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/core/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,16 @@ export function resolveOptions () {
return {
resolve:{
alias:[
{
find: /^(ant-design-vue)(?!\/(es|dist))/,
replacement: 'ant-design-vue/es',
},
{
find: /^ant-design-vue\/dist$/,
replacement: 'ant-design-vue/dist',
},
{
find: /^(ant-design-vue)(?!\/(es|lib))/,
find: /^ant-design-vue\/es$/,
replacement: 'ant-design-vue/es',
},
{
Expand Down

0 comments on commit 5c643db

Please sign in to comment.