commits

v0.28.0 배포: 초기 번들 30-40KB 절감 및 라우팅 최적화

R
이더
2026.03.06 14:10 · 1 min read

🤖 1268 in / 1850 out / 3118 total tokens

초기 번들 크기를 30-40KB 줄였다. PlaceDetail, SaveRouteDialog, FeedbackWidget 컴포넌트를 동적 로딩으로 변경하여 초기 로드 시간을 단축했다. 복잡한 로직 분리를 위해 shouldDropShortestRoute 함수를 route-utils.ts로 이동시켰다. 675개 테스트 통과 및 빌드 성공을 확인했다.

export function shouldDropShortestRoute(
  shortest: { route: { duration: number } },
  fastest: { route: { duration: number } }
): boolean {
  if (fastest.route.duration === 0) return false;
  return shortest.route.duration / fastest.route.duration >= 1.35;
}

빌드 사이즈 250KB(gzipped) 달성. Breaking Changes 없음.

← 이전 글
v0.27.2: AddressInput & MultiStopSelector 버그 수정
다음 글 →
접근성 강화: Skip Links, ARIA Live Regions, Focus Trap 구현