Skip to content

Publish as ESM only #4385

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Publish as ESM only #4385

wants to merge 1 commit into from

Conversation

JoviDeCroock
Copy link
Member

This removes the dual package hazard and a lot of concerns we had for the instanceof checks going forward. This change will make it safer to remove the dev-check and just be ESM only, this change is motivated by Node 18 being dropped and Node 20 and onwards supporting require(esm)

@JoviDeCroock JoviDeCroock requested a review from a team as a code owner May 3, 2025 12:40
Copy link

github-actions bot commented May 3, 2025

Hi @JoviDeCroock, I'm @github-actions bot happy to help you with this PR 👋

Supported commands

Please post this commands in separate comments and only one per comment:

  • @github-actions run-benchmark - Run benchmark comparing base and merge commits for this PR
  • @github-actions publish-pr-on-npm - Build package from this PR and publish it on NPM

@JoviDeCroock JoviDeCroock force-pushed the esm-only branch 5 times, most recently from 8fc1d0a to 09613a3 Compare May 3, 2025 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant