I don't understand what actual concrete benefit there is to using .mjs on client-side JavaScript modules. It seems to only cause problems with tools that .js completely avoids. What's the specific upside?
-
-
Replying to @justinfagnani
Python mime type server now recognizes mjs Moving forward through ietf process. Primary value imho is an easy to identify out of band mechanism that is cross platform.
1 reply 0 retweets 8 likes -
Replying to @MylesBorins
What's the real concrete benefit today though? Is there something that works now if you use .mjs vs .js? Seems like there's only downsides right now.
3 replies 0 retweets 7 likes -
Replying to @justinfagnani @MylesBorins
Webpack uses .mjs to infer parsing mode IIRC.
3 replies 1 retweet 5 likes
As do Node.js and d8 and jsc
1:54 PM - 14 Feb 2019
0 replies
0 retweets
5 likes
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.