Ignore for a moment that a spec exists for ESM and just look at the implementations. The JS modules story would be: * Node.js made a module system. * Webpack made a slightly better but 100% compatible module system. * Browsers made small adjustments to it that broke everyone.
Syntax choices were heavily constrained. `require()` already in wide use, and userland overloading would defeat many fetch-time optimisations. Also, semantics of Node fetch are highly ambiguous w/o cheap disk access.
-
-
What a mess
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.