
Staff Performance Engineer @Framer · webperf/UX/AI and the Core Web Vital INP are my interests. ex. gamer
- Tweets10.5K
- Following2.3K
- Followers3.1K
- Likes14.5K

ALT We've removed pretty much all internal barrel files. The results: Without removing any code, we now ship overall 5 MB less JS across all bundles - e.g. the login page JS bundle is now 50% smaller. Typecheck seems ±1s faster locally (on my machine™). From now, prefer deep imports over creating index.ts w/ export ... from .... For public barrel files (e.g. library/index.ts) we want to keep, we now have lint rules that prevent imports from that public barrel. Metric Before After Delta Total tracked Vekter bundles 68.04 MB 62.25 MB -5.78 MB (-8.5%) invite-unsubscribe 917 KB 169 KB -748 KB (-82%) request-access 968 KB 227 KB -742 KB (-77%) form-email-verified 916 KB 175 KB -741 KB (-81%) access 962 KB 222 KB -740 KB (-77%) project-transfer 949 KB 304 KB -645 KB (-68%) login 1.11 MB 543 KB -593 KB (-52%) preview-module 2.96 MB 2.42 MB -553 KB (-18%) server-api 954 KB 511 KB -443 KB (-46%) projects 2.12 MB 1.86 MB -266 KB (-12%)


















