Skip to content

An explanation of my magically shrinking build size with subsequent alpha builds  #4633

Closed
@wildpow

Description

@wildpow

I am a new web dev and I would love an explanation or resources explaining my magically shrinking build folder size with subsequent alpha releases of create-react-app. I have spent a lot of time and energy making my current client-side React as fast as possible through HTTP/2 push, dynamic imports, webP images, optimizing critical rendering paths, just to name a few and for the most part with some success. My app's LightHouse score went from the 70's to the high 80's but, now with the latest alpha I'm making me rethink my optimizations due to my LightHouse scores tanking.

next.66cc7a90:
screen shot 2018-06-18 at 12 17 38 am
vs
next.3e165448:
screen shot 2018-06-18 at 12 16 18 am

From 1.1.4 to 66cc7a90 I found most of my savings came from smaller source maps but, 3e165448 is some next level stuff.

React-scripts version build folder size
1.1.4 12.6 megs.
2.0.0-next.66cc7a90 8.3 megs.
2.0.0-next.3e165448 4.6 megs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions