The example vendor.js is 590Kb how can we make it smaller?
- Dominant language
- JavaScript
- Stars
- 2.9k
- Forks
- 289
- PR merge metrics
- No merged PRs in 30d
Description
I tried to use you helper splitVendor() to try to split the vendor js (590Kb) into many chunks but I did not succeed.
I think the exemple should include this natively (who wants do download 590Kb of js at ones).
I would like to extract vendors: react, redux, and other big ones.
I am interested in the redux-ssr branch so there is no js at all that is run on client side when you connect to the website the first time which mean having a lot of chunk and taking advantage of http2 would be a very good thing.
Can you help me with that?
Contributor guide
No contributing guide indexed for this repository
Research direction
Inspect the example vendor.js and the splitVendor() helper to understand how the current vendor bundle is produced, then compare the redux-ssr branch. Done should mean that React, Redux, and other large vendors are emitted as separate chunks so the initial client load no longer downloads the full 590 KB bundle.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react, redux
- Domain
- build-system, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100