-
-
Notifications
You must be signed in to change notification settings - Fork 27k
feat: update Webpack config #7638
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
Conversation
Fixed merge conflicts! |
I need some help with the CI errors, I don't even know how to get to the error report from the CI |
You should be able to see the errors in https://dev.azure.com/facebook/create-react-app/_build/results?buildId=356&view=logs&jobId=8999f565-280a-527f-721e-375d49cc4cd5 |
My biggest issue is that it's already annoying tracking blames back across the merge that happened in #5722, so I'm kinda against re-separating them. Our webpack config is big and ugly, but most of it is essential complexity and no one is ever going to be totally happy or comfortable with it. Refactoring a big mess into two piles maybe feels good, but sometimes it just gives you two big messes you have to reason across. All that being said, on the face the code does look a lot nicer! Maybe it would be worth it. |
@heyimalex I understand where you are coming from but worth to point out that the issue before that PR is that we had two configurations sharing nothing between them. Therefore, you had to update the configs that were shared in both files. I think we went to the other extreme where everything is one file. Using I believe that this is the common ground between the two worlds. |
…ature/organize-config
Hey folks, I would like your help with the failing situation since it related to
|
…ature/organize-config
This pull request has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
. |
Thanks @yordis - before doing anything else, let's hear from @iansu and/or @ianschmitz. I think this is a candidate for 3.3. |
@mrmckeb just let me know, I am here to go back actively to fix the existing problems |
@heyimalex I think you are on to something. Webpack 5 is moving towards even more community praised default configs so we are going to be able to clean up a bit. If we are going to start separate configs I would want to apply the same kind of thinking as we do with UI components. More |
@andriijas if you go for that route, I hope you understand how problematic JavaScript plain objects are, and leverage #7866 in terms of webpack-chain. Regardless, let me know what you would like to do so I clean this up 😄 |
I just fixed the requested changes from #7450 since I would love to move forward with this, I can help to make it to
master
cc: @iansu @petetnt @sokra @ianschmitz @mrmckeb @TheLarkInn