Skip to content
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

add the builderOptions to webpack config not only when disableWebpackDefaults = false #19376

Closed
wants to merge 5 commits into from

Conversation

ndelangen
Copy link
Member

@ndelangen ndelangen commented Oct 6, 2022

I got a report for @mandarini from NX that they were running into an issue where the builderOptions weren't being applied when disableWebpackDefaults = true (which seems to be a default somehow, I'm not sure..

But these options are for sure meant to be applied irregardless of that, so I copied the code over to the place that is always applied.

Related: #15062


@shilman I made these changes on main and targeted that branch, because this code has changed so much on next.
Is this acceptable to you? If not what do you suggest I do instead.

Copy link
Contributor

@mandarini mandarini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Norbert thank you SO MUCH for this!!!! It DOES indeed fix the issue!!!! :D :D :D

Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ndelangen If this is also a problem in 7.0, my preference would be to fix it there, release an alpha & test it there, and then either patch it back or create a second PR targeting main-prerelease where I can release a 6.5 alpha, and then merge back into main for a full release.

If this is only a problem in 6.5, then probably target this at main-prerelease instead and we can get it out for testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants