Skip to content
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

Chore: CRA -> vite로 마이그레이션 #100

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Nangniya
Copy link
Collaborator

@Nangniya Nangniya commented Jun 14, 2024

요약 (Summary)

CRA에서 vite로 마이그레이션

변경 사항 (Changes)

기존 CRA는 빌드 속도가 느리고 더이상 업데이트가 안 되어서 CRA로 두면 위험하다고 판단했습니다.

  • index.html 위치 변경
  • react-scripts 제거
  • vite 설치, 관련 파일 설정
  • 환경변수도 process.env 및 REACT_APP이 원래는 안되는데 env-compatible 플러그인을 써서 기존 환경변수명은 유지 가능합니다.

리뷰 요구사항

기존 로컬에 있던 node_modules 삭제하고
새로 npm i 를 해야함

참조 : https://velog.io/@sik02/React-CRA-%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8-Vite%EB%A1%9C-%EB%A7%88%EC%9D%B4%EA%B7%B8%EB%A0%88%EC%9D%B4%EC%85%98%ED%95%98%EA%B8%B0

확인 방법 (선택)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant