fix: huiCharts打包替换为Chart (#2622)
This commit is contained in:
parent
594bf40201
commit
a4fbf2c27d
|
@ -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}`
|
||||
|
|
Loading…
Reference in New Issue