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

Fix outputs #211

Merged
merged 3 commits into from Jan 21, 2023
Merged

Fix outputs #211

merged 3 commits into from Jan 21, 2023

Conversation

gurgunday
Copy link
Contributor

Closes #210

--format esm,umd only spits .js files, which breaks CJS imports because the UMD build uses require while package.json sets type: module. So if we don't want to generate any cjs, we ought to set the type to commonjs and then generate umd and esm/mjs builds.

@gurgunday
Copy link
Contributor Author

CC @nebrelbug

@nebrelbug nebrelbug merged commit d7c68b3 into eta-dev:master Jan 21, 2023
@gurgunday gurgunday deleted the fix-outputs branch January 21, 2023 20:47
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.14.0 breaks CommonJS imports
2 participants