-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
Module field breaking CommonJS resolution #7578
Comments
@SteveALee re-opening as we needed to revert #7582, see #7737 for more context. I discussed with @sodatea and he has an idea for another fix, but it may require a new option so it will probably take a bit more time to get this one fixed. |
@patak-dev oops, don't you just hate it when that happens!? Thanks for letting me know! |
The resolution behavior (using the |
Describe the bug
A function in a nested require is not correctly processed.
sodatea said on discord:
Reproduction
See https://stackblitz.com/edit/vitejs-vite-wthjcb?file=main.js
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: