programing

create-react-app로 구축된 React 프로젝트를 다음 create-react-app 버전으로 업그레이드하는 방법은 무엇입니까?

css3 2023. 3. 31. 22:34

create-react-app로 구축된 React 프로젝트를 다음 create-react-app 버전으로 업그레이드하는 방법은 무엇입니까?

리액트 프로젝트는create-react-app1.5. 의 기능을 취득하고 싶다.create-react-app리액트 프로젝트용 2.0

구체적으로는, https://github.com/facebook/create-react-app/pull/3909 를 사용하고 싶습니다.

기본적으로는create-react-app프로젝트, 당신이 해야 할 은 모듈을 최신 버전으로 업데이트 하는 것 그리고 당신의 앱이 깨진 변경에 호환되도록 업데이트 하는 입니다.react-scripts.

실행 후 앱을 재구축하면 변경사항이 발생하지 않는 한 모든 것이 어느 정도 작동합니다.

언급URL : https://stackoverflow.com/questions/48727922/how-to-upgrade-a-react-project-built-with-create-react-app-to-the-next-create-re