问题
If someone has done it, please help me with updating dependencies and webpack configuration file.
回答1:
You will either need to eject and update configs yourself or wait for CRA v2 to be released which tackles both these issues.
More context here: https://github.com/facebook/create-react-app/issues/3815
react-scripts is what abstracts and powers tooling like webpack and babel
来源:https://stackoverflow.com/questions/52466801/how-to-update-default-reactcra-to-webpack4-and-babel7