You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/11/26 06:46:36 UTC

[GitHub] [incubator-echarts] wenfangdu opened a new issue #13700: Does ECharts v5 support tree shaking?

wenfangdu opened a new issue #13700:
URL: https://github.com/apache/incubator-echarts/issues/13700


   ### What problem does this feature solve?
   Minimize bundle size.
   
   ### What does the proposed API look like?
   import { LineChart } from "echarts"
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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


[GitHub] [incubator-echarts] pissang commented on issue #13700: Does ECharts v5 support tree shaking?

Posted by GitBox <gi...@apache.org>.
pissang commented on issue #13700:
URL: https://github.com/apache/incubator-echarts/issues/13700#issuecomment-734111480


   Currently, partially bundling can be done by 
   ```js
   import chart from 'echarts/lib/chart/line';
   ```
   
   But we are planning a better API which is similar to you suggested.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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