mirror of
https://github.com/chenqinggang001/claude-code-build.git
synced 2026-08-05 12:30:22 +08:00
Bun 1.3.10+ 对 sideEffects:false 的包(lodash-es, @growthbook/growthbook) 启用了自动 barrel 优化,过度 tree-shaking 导致 default export 声明被移除, 运行时报 ReferenceError: default169 is not defined。 设置 ignoreDCEAnnotations: true 禁用此行为。 Ref: https://github.com/oven-sh/bun/issues/27709 Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>