[perf] 번들 이미지 WebP 변환 및 미사용 카카오 SDK 제거#1789
Conversation
- 이미지 10장 PNG→WebP (홈 팝업 app-download 1MB→63KB, introduce mockup 9장) - 미사용 카카오 JS SDK 제거: render-blocking script + 죽은 initializeKakaoSDK 함수 + Window.Kakao 타입 - 폰트 출처 preconnect 추가 (cdn.jsdelivr.net, fonts.googleapis/gstatic.com)
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
요약
변경 사항Kakao SDK 제거 및 WebP 마이그레이션
예상 코드 리뷰 노력🎯 1 (Trivial) | ⏱️ ~5 minutes 연관 가능성이 있는 PR
제안 레이블
제안 리뷰어
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Claude finished @seongwon030's task in 1m 19s —— View job harry 리뷰 결과 ✅성능 개선 목적이 명확하고, 변경 범위도 깔끔하게 잘 좁혀진 PR이에요. 👍 확인한 내용이에요:
지적은 한 가지뿐이에요 (인라인 코멘트로 남겼어요):
수고하셨어요! 포맷팅 한 줄만 정리하면 머지해도 좋을 것 같아요. 🚀 |
There was a problem hiding this comment.
Code Review
This pull request optimizes asset loading by migrating several image imports from PNG to WebP format, adding a WebP module declaration, and introducing preconnect links in index.html. Additionally, it removes the Kakao SDK script, its initialization logic, and its global type definitions. The review feedback suggests a minor formatting correction in index.html to move the </head> tag to its own line for better readability.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
✅ UI 변경사항 없음
전체 60개 스토리 · 23개 컴포넌트 |
리뷰 반영: 카카오 스크립트 제거로 붙어버린 /> </head> 분리
|
Claude finished @seongwon030's task in 1m 20s —— View job harry 리뷰 결과 ✅새 커밋( 이번 동기화분까지 다시 확인한 내용이에요:
룰 위반 없이 통과예요. 포맷팅까지 정리해 주셔서 머지해도 좋아 보여요. 수고하셨어요! 🚀
|
|
Claude finished @seongwon030's task in 1m 7s —— View job harry 리뷰 결과 ✅이번 동기화분( 확인한 내용이에요:
룰 위반 없이 통과예요. 성능 개선 의도가 명확하고 코드·문서까지 일관되게 정리돼서 머지해도 좋아 보여요. 수고하셨어요! 🚀 |
- 외부 서비스/SDK 초기화 목록에서 Kakao 제거 (CLAUDE.md, api.md, features.md) - 미사용 VITE_KAKAO_JAVASCRIPT_KEY 환경변수 항목 제거 (CLAUDE.md, architecture.md) - OG 미들웨어의 kakaotalk-scrap 크롤러 설명은 유효하므로 유지
import 0곳 확인: banner_desktop3, banner_mobile3, Introduce, club-fest-2026
e6b3ade to
851e032
Compare
|
Claude finished @seongwon030's task in 1m 14s —— View job harry 리뷰 결과 ✅이번 동기화분( 확인한 내용이에요:
룰 위반 없이 통과예요. 지난 참고 사항까지 마저 정리해 주셔서 더 깔끔해졌어요. 머지해도 좋아 보여요. 수고하셨어요! 🚀 |
배경
라이브(moadong.com) Lighthouse 모바일 측정에서 홈 LCP 4.7s, 동아리 상세 LCP 19.8s로 확인됨. 범인은 styled-components 런타임이 아니라(TBT ~0ms) 이미지 무게와 render-blocking 자원이었음.
변경 사항
1. 이미지 PNG → WebP (10장, q80)
app-download1002KB → 63KB (측정된 홈 LCP 요소)/introducemockup 9장 (feature 8 + phone) 변환*.webp타입 모듈 선언 추가, import 확장자만 교체(파일 base명 유지)2. 미사용 카카오 JS SDK 제거
index.html의 render-blockingkakao.min.js스크립트 제거 (~1.2s 블로킹 + 26KB 다운로드 제거)initializeKakaoSDK()함수 + orphanWindow.Kakao타입 제거3. 폰트 출처 preconnect
cdn.jsdelivr.net(Pretendard),fonts.googleapis.com/fonts.gstatic.com(Google Fonts) preconnect 추가범위에서 제외 (의도적)
useGetBanners)로 관리되고 번들 이미지는 fallback 전용 → 변환 무의미하여 제외banner_desktop3,Introduce.png,club-fest-2026등 import 0곳): 삭제는 별도 논의banner.moadong.com): 백엔드/개발자포털 영역Summary by CodeRabbit
New Features
Bug Fixes