2026-03-28
요약 (AI 작성)
ZTS 번들러에서 tree-shaking 크로스-모듈 BFS, 심볼 기반 모듈 도달성, 상수 인라인 및 codegen DCE 등 대규모 최적화를 수행하여 svelte/three 번들 크기를 획기적으로 줄였습니다. 또한 tree-shaking 배치 A~C(alias, banner, content hash, asset loader) 관련 옵션을 구현하고, 파서에서 module 키워드 판별 강화 및 CJS panic을 수정했습니다. 블로그 저장소에서는 CRON CRD 실행 로그를 기록했습니다.
커밋
ohah/ohah.github.io
- CRD: Add 2026-03-28 03:00 AM cron entry - all files checked
- CRON: Update timestamp - 2026-03-28 02:30 AM (Asia/Seoul)
- 2026-03-28 02:01:18 - CRD 크론 다시 실행, 모든 .mdx 파일 완료
- chore: cron-crd-write - all .mdx files already checked, mark run 258
- CRD: 2026-03-28 01:00AM run - no target files to check
- docs: CRD 30분마다 실행 상태 갱신 (2026-03-28 12:30)
- docs: add AI summary for 2026-03-27 activity
- chore(cron): update CRON_CRD_WRITE.md for 2026-03-28 00:00 AM check
ohah/zts
- docs: CLAUDE.md smoke 현황 업데이트 — svelte 해결, avg 0.74x
- fix(e2e): cookie entry를 named import로 수정
- fix(ci): bun install에서 --frozen-lockfile 제거
- refactor(parser): namespace와 module 분기 통합 — 동일 로직 중복 제거
- fix(parser): module 키워드 판별 강화 — CJS module["exports"] panic 수정
- chore: bun.lock 업데이트 — smoke pre-install 패키지 추가
- perf(smoke): npm install 제거 — pre-install + 루트 node_modules 공유 (1m45s → 30s)
- test(tree-shaking): symbol-based BFS 시드 회귀 테스트 3개 추가
- fix(tree-shaking): rolldown 방식 symbol-based BFS 시드 — sideEffects:false 모듈의 used export 직접 시드
- fix(smoke): cookie entry를 named import로 수정 + revert #478 (svelte 회귀)
- Revert "fix(tree-shaking): sideEffects:false 모듈의 namespace import used_properties BFS 직접 시드"
- fix(tree-shaking): sideEffects:false 모듈의 namespace import used_properties BFS 직접 시드
- fix(tree-shaking): export * as ns 패턴 DCE 수정 + 회귀 테스트 6개 추가
- refactor: /simplify 리뷰 반영 — 중복 제거 + 안전성 개선
- fix(codegen,tree-shaking): unary_expression 데이터 접근 오류 + else DCE + seedAllStmts re-export 전파
- fix(bundler): ESM→CJS re-export 체인에서 default export 해석 실패 수정
- fix(tree-shaking): namespace barrel re-export 소스 모듈 시드 누락 수정
- fix(tree-shaking): class body side-effect 분석 — static block, computed key, impure static field (#469)
- fix(tree-shaking): class extends 순수 식별자를 side-effect-free로 처리 — three 1.90x→0.61x, svelte 14.74x→0.69x
- refactor(bundler): emitter span 매칭을 top-level statement list로 제한
- fix(bundler): emitter used_names 정밀 필터링 — svelte 19KB→4KB
- fix(bundler): side-effect statement lazy 시드 — 심볼 의존성 기반
- fix(bundler): 포함된 모듈의 side-effect statement를 항상 시드
- fix(codegen): evalBooleanCondition 재귀 깊이 제한 — lodash-es SIGSEGV 수정
- refactor(bundler): /simplify 크로스-모듈 BFS 코드 품질
- fix(bundler): BFS 시작 시 clearUsedExports 제거
- feat(bundler): 크로스-모듈 BFS tree-shaking — svelte 22KB→3KB, three 790KB→21KB
- refactor(bundler): /simplify 상수 인라인 코드 품질 개선
- feat(bundler): --conditions CLI + 상수 인라인 + codegen DCE
- refactor(bundler): /simplify 코드 품질 개선
- style: zig fmt
- fix(bundler): 심볼 기반 모듈 도달성 — svelte 78KB→22KB (72% 감소)