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 <[email protected]>
    Author: Guy Bedford <[email protected]>
    Author: Jan Krems <[email protected]>
    Author: Timothy Gu <[email protected]>
    Author: Michaël Zasso <[email protected]>
    Author: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    bmeck committed Sep 7, 2017
    Configuration menu
    Copy the full SHA
    11844b0 View commit details
    Browse the repository at this point in the history