Tree Shaking and Code Splitting in JavaScript
2d ago · 11 min read · A 2MB gzipped JavaScript bundle is ~7MB for V8 to parse and compile. On a mid-range Android at 3G, that is 12 seconds before a single interaction is possible. Bundle size is not an abstract metric — i