-
Notifications
You must be signed in to change notification settings - Fork 2.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
fix(bundling): add skipTypeField back for rollup executor #17629
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
☁️ Nx Cloud ReportCI is running/has finished running commands for commit ea670a1. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch ✅ Successfully ran 1 targetSent with 💌 from NxCloud. |
Added back as a workaround for libs that target both ESM and CJS. It will be addressed properly in the future once we use the exports field correctly.
Thanks for the PR, we'll add it back. This is fine as an escape hatch for users that run into issues. |
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
This was previously removed and needs to be readded back since nx should always support esm modules with cjs dependencies. Forcing modern libraries to be not in esm format isn't good practice.
Previously removed here:
575c6a1
Current Behavior
No skipTypeField and breaking change was implemented - should be added back
Expected Behavior
Skip type field allows esm modules with cjs dependencies
Related Issue(s)
#17595
I just did this quickly so maintainers please edit the schema and regenerate the docs if you agree with me on this one