Flow, CJS, script (with many different semantics for top level object), JSX all use .js.
-
-
1: Our position is that systems can either assume module (<script type=module>) or require unambiguous contents.
-
"require unambiguous contents" - meaning have Node implement a 99.9% subset of ES Modules? Yes x 1000 if so. Been saying that forever.
-
I think node can support modules without imports or exports or "use module" with a whole package optin
-
There are _so many_ good options that don't require Node-specific baggage.
-
I'm still not 100% convinced this is entirely node specific as I have stated about non-node platforms affected by ESM
-
Though, I generally get told they either don't matter, they are edge cases, or that they should follow some specific proposal just not .mjs
-
I also am very against package.json, love "use module" though if required for ESM
-
To be clear, I am against the loss of random things or odd fields that are permanent debt
- 4 more replies
New conversation -
-
-
This seems like something that could be mitigated fairly easily, right?
-
What is being mitigated?
-
Getting CTC at TC39 so everyone can get in the same room and hash it out. This gets solved in face-to-face conversations IMO.
-
I think a meeting with the modules champions at TC39 and CTC with enough moral authority to push for a solution would work.
-
Either way, I will fight extremely hard against anything that doesn't work same in both Web and Node. So, w/e happens needs symmetry
-
Fighting is not what we need here. Pragmatism and flexibility is what we need. All of these options have tradeoffs ...
-
I'm not fighting currently. .mjs works in both worlds
- 1 more reply
New conversation -
-
-
Yurp this is hard for normal folks to understand tho. <~~~
-
I'm not CTC,
@jasnell@addaleax@mikeal@MylesBorins etc have been though. You make it sound like they don't matter -
-
I won't be but
@indexzero can speak for me
End of conversation
New conversation -
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.
