Skip to content

Vote on ES module detection #5648

@bmeck

Description

@bmeck

In order for the EPS for ES modules to progress we need a definitive vote to choose between:

  • Using a new file extension for ES modules such as .jsm
  • Using a few new package.json fields
    • main -> module for ES module entry point
    • modules to list all the .js files in the package that should be treated as ES and not CJS.

The full discussion is in nodejs/node-eps#3

A sidecar discussion specific to module detection is in nodejs/node-eps#13 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    metaIssues and PRs related to the general management of the project.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions