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

vite 마이그레이션 #385

Merged
merged 7 commits into from
Oct 19, 2024
Merged

vite 마이그레이션 #385

merged 7 commits into from
Oct 19, 2024

Conversation

junghaesung79
Copy link
Contributor

Changes 📝

프로젝트 빌드 도구를 CRA에서 VITE로 마이그레이션하였습니다.
의존성, 구성파일, env 타입체크, svg import 방식 등이 변경되었습니다.

환경변수를 변경해주시고, yarn을 한 번 실행해주셔야 합니다.

그리고 앞으로는 svg를 import 하실 때
import �Svg from 'asset/svg/icon.svg' 또는
import �Svg from 'asset/svg/icon.svg?react' 로 하시면 됩니다.
차이점은 Svg에 속성을 넣거나 할 경우 ?react를 써서 리액트 컴포넌트처럼 사용하시게 됩니다.

ScreenShot 📷

Test CheckList ✅

  • test 1
  • test 2
  • test 3

Precaution

✔️ Please check if the PR fulfills these requirements

  • It's submitted to the correct branch, not the develop branch unconditionally?
  • If on a hotfix branch, ensure it targets main?
  • There are no warning message when you run yarn lint

@junghaesung79 junghaesung79 self-assigned this Oct 15, 2024
@github-actions github-actions bot requested review from D0Dam and hyejun0228 October 15, 2024 15:26
@junghaesung79 junghaesung79 merged commit 1aa71e3 into develop Oct 19, 2024
1 check passed
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.

vite 마이그레이션
2 participants