If you're using TypeScript does this matter at all? You're still tranpiling. It's a config flag. Is there a greater cost than just renaming?
-
-
You still process the resulting JS files in some way, e.g. - minify, set correct mime type on server etc.
1 reply 0 retweets 0 likes -
If you process them does .mjs impede you more thank package.json or pragma (which is oof in JS)?
1 reply 0 retweets 0 likes -
Still have to configure server to serve correct mimetype for a new extension and configure tools, which is not the case for .js
2 replies 0 retweets 1 like -
Replying to @satya164 @bradleymeck and
`package.json` is fine IMO, not a fan of the pragma though
2 replies 0 retweets 1 like -
Pragma would probably be easier tp get through CTC
1 reply 0 retweets 0 likes -
What about package.json to opt in for all files, pragma otherwise?
1 reply 0 retweets 1 like -
Check threads, it was brought up I believe
1 reply 0 retweets 0 likes -
Pragma is a relatively new proposal though.
1 reply 0 retweets 0 likes -
What? This was talked about more than a year ago in Node EPs
1 reply 0 retweets 0 likes
I mean it's really on the table and could happen.
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.