-
-
Notifications
You must be signed in to change notification settings - Fork 232
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
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted #1866
Comments
Could you share me an example repo for such warning? I'm not exactly sure how to reproduce the problem. |
Here is the basic repo I could create to reproduce the issue: https://github.com/mrexox/test-remirror-warning |
Hey @ocavue! Was it helpful? Do you need more information or maybe you've got an idea and I can prepare the PR? |
Your repo is useful. I'm already working on a PR based on your replication. Thanks! |
Thank you very much for the quick fix! I really appreciate your fast response 🙏 🚀 |
I understand the reasons for this code, but it seems like a buggy thing. It always throws a warning, and for some checks/linters warnings are considered as errors.
remirror/packages/remirror__core-utils/src/core-utils.ts
Lines 1224 to 1232 in 2c96b54
When starting a server, I get two warnings:
The text was updated successfully, but these errors were encountered: