fix: huiCharts打包替换为Chart (#2622)

This commit is contained in:
Davont 2024-12-08 15:33:48 +08:00 committed by GitHub
parent 594bf40201
commit a4fbf2c27d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ const createEntry = (mode) => {
.map((component) => {
if (component.includes('Hui')) {
return `${component}${joinStr}${component} as ${component
.replace('Huicharts', 'Charts')
.replace('Huicharts', 'Chart')
.trim()}${joinStr}${component} as Tiny${component.trim()}`
}
return `${component}${joinStr}${component} as Tiny${component.trim()}`
@ -113,7 +113,7 @@ const createEntry = (mode) => {
.map((component) => {
if (component.includes('Hui')) {
return `${component}${joinStr}${component
.replace('Huicharts', 'Charts')
.replace('Huicharts', 'Chart')
.trim()}: ${component}${joinStr}Tiny${component.trim()}: ${component}`
}
return `${component}${joinStr}Tiny${component.trim()}: ${component}`