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

Not Support for CJS #4463

Open
ahebou-sc opened this issue Oct 25, 2024 · 2 comments
Open

Not Support for CJS #4463

ahebou-sc opened this issue Oct 25, 2024 · 2 comments

Comments

@ahebou-sc
Copy link

Trying to use the Quill package as a rich text editor but facing errors from Jest no longer parsing our files because the node module from Quill is no longer being sent out as CJS. Can we add support for CJS as well as ESM, instead of just ESM node modules? The figures below highlight this:
image

Steps for Reproduction

  1. Install quill.
  2. Write a Quill Editor implementation – one can follow the React Quill implementation.
  3. Run a test that loads the component with Jest.

Expected behavior:

  1. Pass results

Actual behavior:
image

Platforms: Mac M1, Node Version node v20.9.0 (npm v10.1.0)

Version: 2.0.2

@art29
Copy link

art29 commented Nov 1, 2024

I'm having the same issue as well..

@a-lukianenko
Copy link

Same +1

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

No branches or pull requests

3 participants