Created by: Timer
closes: https://github.com/facebook/create-react-app/issues/4977, closes https://github.com/facebook/create-react-app/issues/4632, closes https://github.com/facebook/create-react-app/issues/4769, closes https://github.com/facebook/create-react-app/issues/4633
Disabling chunk rollup results in much better bundle distribution. Off topic, it also makes webpack blazing fast!
This is the recommendation made in the code splitting blog post by @sokra.
It says setting { name: false }
will prevent bundle invalidation as more chunks are added, but we'll see ...
v1.1.4 Optimal chunk distribution, 65 second build time:
v2.0.0-next.a671462c Suboptimal chunk rollup (see 1MB chunk, 91 second build time):
This PR: Optimal chunk distribution (compare to v1, 56 second build time):