Commit 840d2089 authored by 前端-许佳敏's avatar 前端-许佳敏

fix

parent 7792ba9a
......@@ -24,7 +24,7 @@ const config: any = {
routes,
extraBabelPlugins: [
['import', {
libraryName: 'bizcharts', libraryDirectory: 'lib/components',
libraryName: 'bizcharts',
camel2DashComponentName: false,
customName: require('path').resolve(__dirname, './utils/customBitchartsName.js')
}, 'bizcharts'],
......
module.exports = function customName(name) {
console.log(name)
if (name === 'Interval') {
return 'bizcharts/lib/geometry/Interval'
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment