TIL @SpiderMonkeyJS version 52 ships with almost fully standard ES2015, including modules
js52 -m entry.js
+ it wouldn't care less about mjs
-
-
So, browser signal is type module, SpiderMonkey is an -m flag, how come NodeJS doesn’t offer the same?

-
node might offer a command line flag soon; that still only covers the entry point, not individual files.
- 7 more replies
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.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.