plainheart commented on issue #15256:
URL: https://github.com/apache/echarts/issues/15256#issuecomment-984383542


   If you use the following way to import
   ```js
   import * as echarts from "echarts/lib/echarts";
   ```
   the tree-shaking can work but it will import some extra modules 
(`CanvasRenderer`, `DatasetComponent`, `LabelLayout`) for compatibility.
   
   See also https://cdn.jsdelivr.net/npm/[email protected]/lib/echarts.js
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to