I suspect most folks don't grok how low-hanging the web-performance fruit really is these days. My approach to understanding any site: 1.) load site in a tab 2.) open devtools, find the big script bundle 3.) pretty-print and just _scroll_ 4.) WPT it: http://webpagetest.org/easy
-
-
Not really a disaster. You can dedupe in Webpack or any bundler if you know what you’re doing. For Webpack at least, you can do: alias: { 'name-of-package': 'node_modules/name-of-package' } So that even transitive uses of the package reference the top level one.
-
This _would_ work great is more packages weren't bundled and compiled already in the `main` entry. And, thanks for the suggestion! But, also sad that this sort of collapsing can't be the default of a tool as opposed to the "when you know what you're doing" option.
- 3 more replies
New conversation -
-
-
Of course it's a bit more nuanced than that: - devDependencies
- dependencies
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.