-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Bug: conflict with another middleware plugin #87
Comments
I have a similar error, but from Astro middleware:
|
However, the global shims, etc. still work. I think this error comes from any polyfills that do not support ESModules. If I patch |
Finding alternative polyfills like |
In some cases using the "exclude" and "overrides" sections can sorta fix this issue. |
Summary
very helpful plugin, but I seems run into a conflict with an express server plugin.
now, with the 3 lines (import path) commented, everything works. or if I un-comment these 3 lines but remove the nodePolyfills() plugin, everything still works.
But If I have the nodePolyfills() plugin, and have import path in the server file, server will hang. the error messages are
The text was updated successfully, but these errors were encountered: