2026-01-24
요약 (AI 작성)
bungae는 모듈 구조 정리와 프로덕션 빌드 최적화가 중심이 된 하루였습니다. HMR 모듈을 delta·message·incremental 파일로 분리하고 index 파일을 추가했으며, build 유틸리티와 helper를 build/ 폴더로 추출하고 buildWithGraph를 build/index.ts로 옮겼습니다. 서버 파일을 server/ 디렉터리로 이동하고 빌드 폴더 구조에 맞춰 exports를 갱신하는 등 graph-bundler 모듈을 전용 폴더로 재배치하는 리팩토링이 PR #10으로 머지되었습니다.
프로덕션 빌드 측면에서는 minification과 persistent caching을 구현하는 작업이 PR #9로 들어갔습니다. graph builder의 cache 사용과 persistent cache 구현을 개선했고, default minifier를 'bun'과 'terser' 사이에서 조정하다 최종적으로 'terser'로 되돌렸으며, Metro 호환 버전의 terser를 의존성으로 추가했습니다. 또한 minifier의 Metro runtime preservation을 개선하고 관련 테스트를 확장했습니다. source map 영역에서는 console log source mapping을 위해 sources를 Metro 포맷에 맞추고 source map 생성 및 symbolication을 최적화했으며, Metro 구현에 맞춰 테스트를 정렬하는 작업(PR #8)이 진행되었습니다. 이 과정에서 terminal actions 지원 추가, Copilot 코드 리뷰의 보안·안전성 지적 수정, GitHub Actions workflow 갱신 등도 함께 이루어졌습니다.
이 밖에 toss-train-reservation에서는 과제 제출 PR #1이 머지되었습니다.
커밋
ohah/bungae
- refactor: add HMR index file and remove old hmr.ts
- refactor: split HMR module into separate files (delta, message, incremental)
- refactor: update exports for build folder structure
- refactor: move buildWithGraph to build/index.ts
- refactor: extract build utilities and helpers to build/ folder
- refactor: move server files into server/ directory
- fix: update broadcast type in TerminalActionsOptions to match usage
- fix: address Copilot code review security and safety issues
- test: fix formatting in symbolicate test
- test: align source map tests with Metro implementation
- fix: update tests to match current source map implementation
- chore: fix linting and formatting issues
- docs: update source map and React Native version documentation
- chore: update AppDelegate.swift for Bungae bundler support
- chore: update dependencies and add terminal actions support
- fix: align source map sources with Metro format for console log source mapping
- perf: optimize source map generation and symbolication
- ci: update GitHub Actions workflow
- refactor: remove unnecessary ts-expect-error comment
- chore: update bun.lock for terser dependency
- deps: add terser as dependency (Metro-compatible version)
- revert: change default minifier back to 'terser'
- test: update default transformer config test
- test: expand Metro runtime preservation tests
- fix: improve minifier Metro runtime preservation
- fix: fix cache usage in graph builder
- fix: improve persistent cache implementation
- fix: change default minifier to 'bun' (terser not in dependencies)
- test: update default transformer config test to expect terser
- docs: update terminal shortcuts implementation status
- feat: implement production build optimizations (minification and persistent caching)