I wonder how people are going to feel about .cjs 
-
Show this thread
-
for context https://github.com/nodejs/ecmascript-modules/blob/modules-lkgr/doc/api/esm.md …pic.twitter.com/Fmjxretvu4
4 replies 4 retweets 17 likesShow this thread -
Replying to @MylesBorins
Seems weird/wasteful to load the package.json even if the extension is unambiguous. Why not make extension the first check?
3 replies 0 retweets 7 likes -
Replying to @mathias @MylesBorins
Agreed. The extension check needs to come first, otherwise we're forever doomed to use a flag for entrypoint modules without package.json.
1 reply 0 retweets 2 likes
Replying to @robpalmer2 @MylesBorins
@guybedford Kicked off a PR here: https://github.com/nodejs/ecmascript-modules/pull/33 … Let’s move the discussion there.
0 replies
1 retweet
3 likes
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.