You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2018/09/21 02:27:07 UTC

[GitHub] Janmay edited a comment on issue #4935: 使用webpack打包构建echarts,打包后的文件非常大,但只是引入了radar.js

Janmay edited a comment 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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org