Skip to content

Package as CommonJS with swc #10

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

Conversation

pcram-techcyte
Copy link
Contributor

I needed this library as commonJS so I could use it in jest tests. Unfortunately, I couldn't find a way to make that work without breaking node support (USE_ES6_IMPORT_META=0 conflicts with ENVIRONMENT=node). Any ideas?

@mattdesl
Copy link
Owner

I'll have a look. Thanks for all the PRs so far! Merged most - going to see about any final tweaks before I cut a new npm version.

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.

2 participants