-
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
docs(core): document all/none for rollup external #17005
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This option now supports `"all"/"none"`. Moreover, the addition dramatically changes packaging behavior, so it should be clearly documented.
Thanks for merging @mandarini . IMHO, it's worth trying to highlight this change as much as possible. I totally see why the change was done, and it certainly was a valid fix. Unfortunately, it also changes the default behavior as I described above, and I'm worried it will give lots of people trouble when they upgrade to 16 and |
Thank you for the feedback @toddbaert ! I'll keep this in mind! :) |
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 option now supports
"all"/"none"
. Moreover the change that added this dramatically changes default packaging behavior of nx:rollup, so it should be clearly documented.If authors don't take action and had
"external": [],
(the default) tons of dependencies will suddenly be bundled into the distributed module. For me, that caused a bunch of issues. The least we can do is add this doc, so it's clear how to achieve the previous behavior.