Skip to content

Commit 77a9acb

Browse files
committed
fix: huiCharts打包替换为Chart
1 parent 804b0e6 commit 77a9acb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internals/cli/src/commands/build/build-entry.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ const createEntry = (mode) => {
103103
.map((component) => {
104104
if (component.includes('Hui')) {
105105
return `${component}${joinStr}${component} as ${component
106-
.replace('Huicharts', 'Charts')
106+
.replace('Huicharts', 'Chart')
107107
.trim()}${joinStr}${component} as Tiny${component.trim()}`
108108
}
109109
return `${component}${joinStr}${component} as Tiny${component.trim()}`
@@ -113,7 +113,7 @@ const createEntry = (mode) => {
113113
.map((component) => {
114114
if (component.includes('Hui')) {
115115
return `${component}${joinStr}${component
116-
.replace('Huicharts', 'Charts')
116+
.replace('Huicharts', 'Chart')
117117
.trim()}: ${component}${joinStr}Tiny${component.trim()}: ${component}`
118118
}
119119
return `${component}${joinStr}Tiny${component.trim()}: ${component}`

0 commit comments

Comments
 (0)