Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module: Allow runMain to be ESM #14369

Closed
wants to merge 1 commit into from
Closed

Commits on Sep 7, 2017

  1. module: Allow runMain to be ESM

    This follows the EPS an allows the node CLI to have ESM as an entry point.
    `node ./example.mjs`. A newer V8 is needed for `import()` so that is not
    included. `import.meta` is still in specification stage so that also is not
    included.
    
    PR-URL: nodejs#14369
    Author: Bradley Farias <bradley.meck@gmail.com>
    Author: Guy Bedford <guybedford@gmail.com>
    Author: Jan Krems <jan.krems@groupon.com>
    Author: Timothy Gu <timothygu99@gmail.com>
    Author: Michaël Zasso <targos@protonmail.com>
    Author: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    bmeck committed Sep 7, 2017
    Configuration menu
    Copy the full SHA
    11844b0 View commit details
    Browse the repository at this point in the history