Skip to content

Commit

Permalink
chore: dumi config
Browse files Browse the repository at this point in the history
  • Loading branch information
linhf123 committed Dec 26, 2024
1 parent ca73b7d commit 470a893
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,10 @@ export default defineConfig({
codeBlockMode: 'passive',
},
alias: {
'@oceanbase/design': path.join(__dirname, 'packages/design/src'),
// 需要将子路径前移,否则会优先匹配到父路径导致子路径匹配异常
'@oceanbase/design/es': path.join(__dirname, 'packages/design/src'),
'@oceanbase/design/locale': path.join(__dirname, 'packages/design/src/locale'),
'@oceanbase/design': path.join(__dirname, 'packages/design/src'),
// for @import in less
'~@oceanbase/design/es': path.join(__dirname, 'packages/design/src'),
'@oceanbase/icons': path.join(__dirname, 'packages/icons/src'),
Expand Down

0 comments on commit 470a893

Please sign in to comment.