ayojs / ayo

A fork of Node.js. Humans before technology.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

😅 (chore, discussion?) Allow runMain to be ESM. Support .mjs

indexzero opened this issue · comments

#36 touched on this briefly – there doesn't seem to be any disagreement between @bmeck in #36 (comment) and @zkat in #36 (comment).

Building on this cross-project alignment, thanks to the fine work by @bmeck 🥇 (and a whole bunch of other folks on the ES spec, .mjs mimetypes, etc. etc. ... all work that is 💯 by me) the first ESM PR (see: nodejs/node #14369) landed in nodejs/node#master about a week ago.

The purpose of opening this issue is to request an ETA on when latest (or perhaps just nodejs/node#c8a389e) will be pulled from upstream. Further, to foster and/or seek out any discussions around if there are currently plans on the ayojs/ayo side to make any changes to the work when or after it is merged.

Please see #21 - it is likely that --experimental-modules will be downstreamed to Ayo soon(tm).

Thanks. Not sure how I missed that in my initial search of issues.