这是indexloc提供的服务,不要输入任何密码
Skip to content

Support ES modules #68

@egoist

Description

@egoist

Node.js has native esm support now, it makes sense to generate an additional .mjs bundle.

So by using --esm you will have two bundled files, index.js and index.mjs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions