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 2021/12/02 08:08:28 UTC
[GitHub] [echarts] plainheart edited a comment on issue #15256: How to set bounds for leaflet map?
plainheart edited a comment 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/echarts@5/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: commits-unsubscribe@echarts.apache.org
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