diegohaz/arc

The example vendor.js is 590Kb how can we make it smaller?

Ouverte

#290 ouverte le 23 juin 2017

 (3 commentaires) (1 réaction) (0 personne assignée)JavaScript (291 forks)github user discovery
PR welcomehelp wanted

Métriques du dépôt

Stars
 (2 924 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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?

Guide contributeur