FYI Chrome 69 eventually started supporting .mjs for Web extensions, every previous version of Chrome will fail even if native ESM is there. Just a little reminder that .mjs has never been needed on the Web, but it already caused troubles to devs using it https://bugs.chromium.org/p/chromium/issues/detail?id=857076 …
Browsers don’t have to “support mjs”. They already do, modulo minor updates to things like file:// URLs and extensions.
-
-
> Browsers don’t have to “support mjs” Neither does NodeJS 'cause .js is already universal and .mjs won't solve any real issue. NodeJS needs to solve package.json/mapped dependencies, how to require in CommonJS, etc, etc ... out of 99 problems .js wasn't one of those, IMO.
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.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.