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

Build for ES #168

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

Build for ES #168

wants to merge 1 commit into from

Conversation

Hey
Copy link

@Hey Hey commented Apr 28, 2023

Problem

I am trying to use this package in an ES project but it looks like this package is currently only building for commonjs.

image
image

Fix

I have added the build-es to the build script and I added a prepack to ensure it's always built before we pack & publish.
Would be great if you can merge and publish these changes.

@swarthy
Copy link
Owner

swarthy commented Jun 16, 2023

ES modules build is not ready yet. There are some more requirements to get this done https://www.typescriptlang.org/docs/handbook/esm-node.html

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.

None yet

2 participants