How to update default react(CRA) to webpack4 and babel7?

本小妞迷上赌 提交于 2019-12-11 21:31:49

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!