You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some dashboard helpers imported the all-inclusive ECharts entry point
just to connect chart groups. That registered every chart feature
globally and pulled it into the startup bundle.
Switches those helpers to `echarts/core` and gives `BaseChart` an
explicit registry for the seven series types, components, SVG/canvas
renderers, and legacy grid behavior we currently rely on.
| Startup vendor chunk | Raw | Gzip |
|---|---:|---:|
| Before | 3,936.5 KiB | 1,251.3 KiB |
| After | 3,599.1 KiB | 1,146.0 KiB |
| Saved | 337.5 KiB | 105.3 KiB |
The main risk is missing a registration when adding a new ECharts
feature; this audits every current series, component, and action and
keeps both renderers plus `LegacyGridContainLabel` to avoid behavior
changes.
The production source map no longer contains `echarts/index.js`; ECharts
modules drop from 501 to 309.
---------
Co-authored-by: OpenAI Codex <noreply@openai.com>
0 commit comments