2026-01-23
요약 (AI 작성)
bungae는 React Native 번들러로서의 개발 환경 기능이 크게 진척되었습니다. Metro 호환 HMR(Hot Module Replacement)을 구현해 update-start/update-done 프로토콜과 HMR 클라이언트, 증분 빌드(incremental build)를 도입했고, 이를 검증하는 HMR 단위·통합 테스트를 추가하면서 통합 테스트의 타임아웃도 늘렸습니다(#5). 또한 source map 생성을 구현하고 React Native LogBox 호환을 위한 /symbolicate 엔드포인트를 추가했으며, build 출력에서 non-inline source map에 대한 sourceMappingURL 주석을 추가했습니다(#7).
개발자 경험 측면에서는 dev server 웹 UI를 단순한 디자인으로 개선하고, ASCII art와 gradient 색상을 적용한 banner를 도입했습니다(#6). 이와 함께 graph-bundler.ts를 모듈 구조로 분리하고 file watcher 및 module wrapping을 개선하는 등 리팩토링도 진행되었습니다.
이 외에 console 메시지에서 [bungae] prefix를 제거하고(baseJSBundle.ts, js.ts 포함), 의존성을 root에서 packages/bungae로 옮겼으며, npm alias 대신 @babel/traverse를 직접 사용하도록 정리했습니다. PR 리뷰 코멘트 반영과 Phase 2 완료 상태 문서 업데이트 및 타입 에러 수정도 함께 이루어졌습니다.
커밋
ohah/bungae
- fix: add sourceMappingURL comment for non-inline source maps in build output
- refactor: move dependencies from root to packages/bungae
- refactor: use @babel/traverse instead of npm alias
- feat: implement /symbolicate endpoint for React Native LogBox compatibility
- feat: implement source map generation
- fix: increase timeout for HMR integration tests
- test: add comprehensive HMR unit and integration tests
- [refactor: remove bungae] prefix from console messages and improve file watcher
- [refactor: remove bungae] prefix from console warnings in baseJSBundle.ts
- [refactor: remove bungae] prefix from console warnings in js.ts
- docs: update Phase 2 completion status and fix type error
- refactor: improve file watcher and simplify module wrapping
- feat: implement HMR client with Metro-compatible protocol
- feat: implement incremental build for HMR
- feat: implement Metro-compatible HMR protocol with update-start/update-done
- fix: address PR review comments
- feat: improve dev server web UI with simple design
- refactor: split graph-bundler.ts into modular structure
- feat: improve banner with ASCII art and gradient colors