-
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(react): pass correct configuration when reading build target options in dev-server executor #9656
fix(react): pass correct configuration when reading build target options in dev-server executor #9656
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/nrwl/nx-dev/DEwe9LDayQpE7g6B1sdjcas19ea5 [Deployment for b600871 canceled] |
077028c
to
b681fff
Compare
b681fff
to
12c0e26
Compare
12c0e26
to
176a8dd
Compare
176a8dd
to
8a74fc4
Compare
8a74fc4
to
b600871
Compare
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 PR fixes and issue where there are conflicting
NODE_ENV
variables being used inDefinePlugin
. There was a regression when we fixed #8932.The problem was that when reading build target, we did not pass the current configuration in, so it defaulted to
production
as specified innx.json
(defaultConfiguration
). This caused webpack to add its ownDefinePlugin
that conflicted with our own.Closes #7924