I see that in the docs for tree-shaking it says to "import * as echarts from 'echarts/core'".

iiuc this breaks the tree-shaking when building with vite (using nx monorepo and echarts is included even if not used in the specific app).

Or is there a workaround?

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

Reply via email to