how to reduce bundle size by hack __generated__ file
- Dominant language
- Rust
- Stars
- 19k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description

> you can see, there has too many __generated__ files in the project. it makes the bundle size too big.Anyone find a way to slove this question?
> this result come from dev environment, it hasn't been gzip. In my opinion, the important thing is: __generated__ file has the same size with the source code, maybe bigger than business code. and l guess these file slow down the webpack bundle speed.(l will try to prove it by number)
Contributor guide
Research direction
The issue names generated files and the webpack bundle but gives no repository path or failing test. Begin by reproducing the development build and measuring the generated files' contribution, then trace the webpack entry or configuration that includes them. Done means reducing that contribution without breaking the bundle, but the specific target is not defined here.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, webpack
- Domain
- build-system, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100