3 ms·
> I disagree with the extension solution As do I. I loathe it. But I'm struggling to come up with strong rational reasons why. Part of me says that hurts in
by ergothus 8y ago
> I disagree with the extension solution
As do I. I loathe it. But I'm struggling to come up with strong rational reasons why. Part of me says that hurts interoperability, but I think that's mostly rationalization.
Why do I care so much about a file extension? Because I really really do.
- tokyodude 8y agoThe reason I care is because effectively node is imposing it's standards on the browser. Effectively node is requiring all browser based modules to use .mjs even though they shouldn't have to care. Except they will care because they'll start with .js, the make an npm package, then someone will want it to run in node, then it has to be renamed .mjs, then all non node projects are effected only because of node's chosen solution. It seems bad to me for node to effectively bleed it's problems on the entire JS ecosystem