Skip to content

Migrate source code to ESM? #2345

@zanminkian

Description

@zanminkian

Node is defaultly supporting require('esm-module'). ESM is the future.

Moreover, pure js project under ESM would be more easy to add type annotation to improve type-safety.

That means commander will not provide CJS distribution in npm package.

Feel free to close it if not planned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    pending releaseMerged into a branch for a future release, but not released yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions