-
Notifications
You must be signed in to change notification settings - Fork 2
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 environemnt specific build configuration #37
Conversation
I forgot to update |
Based on the |
@cermakjiri Thank you for the feedback. From the documentation of CRA:
So the So my conclusion to resolve the issue:
|
|
Good, I updated |
CRA's
--target
parameter only supportsproduction
value, notdevelopment
, which results in console error with production build. As discussed here, custom env variable should be used for that. In our caseREACT_APP_BUILD_ENV
.I also fixed build commands naming so they correspond to the current Gitlba CI configuration.