Looking for ideas for decreasing the webpack bundle Size
- Dominant language
- JavaScript
- Stars
- 19.4k
- Forks
- 3.1k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 9
Description
When you run `npm run build` you can see the bundle size is ~1.5mb parsed and ~480kb gzipped. I am curious if there are any experts on webpack that help with solutions for decreasing the bundle size.

I don't believe it would be realistic to do so, but I did experiment with Preact and saw a significant decrease in size. I did not explore this fully, but wanted to field this issue to see if anyone has some quick wins.
with preact 👇🏾

Contributor guide
Research direction
Start by running `npm run build` and reviewing the bundle-size output shown in the issue, then investigate the webpack setup and the reported Preact comparison. The issue does not name files, tests, a target size, or a completion threshold, so define a measurable reduction and validation approach before attempting changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react, webpack
- Domain
- frontend, performance, web-dev
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100