[FE] - refactor: 청크 분리 및 차트 lazy import 적용 #32
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

vite config에서 @amchart가 no external로 설정되있어서 amchart에 트리쉐이킹이 적용안되고 모든 번들이 빌드파일에 들어갔습니다.
📝 요약(Summary)
@amchart가 트리쉐이킹이 안되서 모든 모듈이 번들파일에 포함되었습니다.

번들파일의 크기가 약 4.6mb가 되었습니다.
vite.config.js의 잘못된 config를 제거하고 차트 컴포넌트와 채팅 컴포넌트를 lazy import 하였습니다.최종적으로 번들파일의 크기가 약 90kb로 줄어들었습니다.
🛠️ PR 유형
어떤 변경 사항이 있나요?
💬 공유사항 to 리뷰어
ex) 메서드 XXX의 이름을 더 잘 짓고 싶은데 혹시 좋은 명칭이 있을까요?
📸스크린샷 (선택)
## ✅ PR Checklist PR이 다음 요구 사항을 충족하는지 확인하세요.
Closes #31