Janmay commented on issue #4935: 使用webpack打包构建echarts,打包后的文件非常大,但只是引入了radar.js
URL: 
https://github.com/apache/incubator-echarts/issues/4935#issuecomment-423393610
 
 
   项目中使用
   `import echarts from 'echarts/lib/echarts';
   import 'echarts/lib/chart/bar';`
   
打包出来体积减小。需要注意的是可以按需加载的模块列表[https://github.com/apache/incubator-echarts/blob/master/index.js](url)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to