What's the actual reason people don't like .mjs? It seems like a really easy solution to a complicated problem!
These tools exist in many many places. We can fix popular ones but there's a long tail.
-
-
Agree, but those tools arent evaluating code. We can PR safely over time.
-
We can but the long tail cost will be annoying. Some tools might be unmaintained and embedded in enterprise apps
-
Will they start adding new parsers? Will they handle ESM at all? If that doesnt update why would app?
-
Syntax highlighters don't parse, they lex. They're very simple and don't care about stuff like auto-strict
-
Some, but others like https://gist.github.com/bmeck/05f5ac4ae58b052782927ba70dc4caf6parse … it.
End of conversation
New conversation -
-
-
How many times have you had some code syntax highlighted on some website w/o knowing which tool was doing it.
-
Every day, but that isnt running my server.
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.