Skip to content

ESM migration #208

@btd

Description

@btd

I currently blocked from updating open and yargs to latest versions, as they started to use ESM.
I tried in v6 to use require(esm), but there was data points that shows that it is not always possible to simply update node version.

Some guide: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm

I will probabaly need to take a look how users current consume package. This should include vite, rollup, rolldown.

As a side note i will probably deprecate old rollup version.

Vite and Rolldown supports import/export out of the box

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions