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

Consider Switching to a ESM-only package #297

Open
1 task done
nicholasio opened this issue May 27, 2023 · 0 comments
Open
1 task done

Consider Switching to a ESM-only package #297

nicholasio opened this issue May 27, 2023 · 0 comments

Comments

@nicholasio
Copy link
Member

nicholasio commented May 27, 2023

Is your enhancement related to a problem? Please describe.

The Node.js ecosystem is evolving and there's a push for shipping ESM-only packages.

Given we're already supporting only Node.js >= 16 it should be relatively safe to switch 10up-toolkit from commonjs to ESM Modules in the next major version.

There are several deps we're relying on where new versions only ships ESM and therefore we cannot update them yet.

Since this is mostly a CLI tool it won't force users to switch their projects to ESM. Additionally, we can still export the configs files via commonjs so that users can extend the config as usual without having to switch to ESM modules.

Designs

No response

Describe alternatives you've considered

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant