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

Revert "Preserve es modules in babel config (#4013)" #57

Merged
merged 1 commit into from
Mar 12, 2024
Merged

Conversation

alecgibson
Copy link
Collaborator

This reverts commit 5fa786c.

Upstream merged a change that ships ESM directly, with no transformation through babel, and without marking the library as "type": "module"

This breaks some of our Node.js tests, which (correctly) complain that Quill shouldn't be using import statements without declaring itself as an ESM library with "type": "module".

This change just reverts the break.

This reverts commit 5fa786c.

Upstream merged a change that ships ESM directly, with no transformation
through babel, and without marking the library as `"type": "module"`

This breaks some of our Node.js tests, which (correctly) complain that
Quill shouldn't be using `import` statements without declaring itself as
an ESM library with `"type": "module"`.

This change just reverts the break.
@alecgibson alecgibson requested a review from a team March 11, 2024 14:04
@alecgibson
Copy link
Collaborator Author

For more context see thread on slab#4013

@alecgibson alecgibson merged commit 701e0ae into main Mar 12, 2024
6 checks passed
@alecgibson alecgibson deleted the cjs branch March 12, 2024 06:55
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