🥰 [FEATURE]
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 591
- PR merge metrics
- No merged PRs in 30d
Description
### 🥰 Features description [Please make everyone to understand it]
目前使用g2plot.min.js包,gzip以后,还有289K,我实际上值用到了折线图,影响首屏加载性能,希望可以支持tree shaking
### 🏞 What problem does this feature solve
减小包体积,提升加载速度。
### 🧐 What does the proposed API look like
### 🚑 Any additional [like screenshots]
Contributor guide
Research direction
The issue identifies the g2plot.min.js package and asks for tree shaking to reduce its gzipped size and improve initial loading. No source file, build entry point, API, or test is named, so first locate the package build path and determine how unused chart types are included. Done means the package supports tree shaking without breaking existing chart usage and the bundle-size goal can be verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system, frontend, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100