52
How we reduced the size of our JavaScript bundles by 33%
(dropbox.tech)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
TL;DR, from what I can tell: Dropbox was using a JS bundler that didn't support code-splitting or tree-shaking (y'know, the staples of modern JS bundling) and swapped to one that does. Not that there aren't plenty sub-optimal components in code I work on, at home and at work, but there's nothing revolutionary going on here.