Files
bun.sh/src
Claude Bot a66692761f Fix duplicate exports when entry points re-export from other entry points (#5344)
When code splitting is enabled and one entry point re-exports from another
entry point, the bundler was generating duplicate export statements. This
happened because both the cross-chunk export generation logic and the entry
point export generation logic were creating export statements for the same
symbols.

The fix prevents cross-chunk export statement generation for entry points
that have their own sorted export aliases, since these entry points will
generate their own exports in generateEntryPointTailJS().

Test cases added to verify:
- Basic re-export scenario between two entry points
- Multiple re-exports through intermediate modules

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-23 21:58:31 +00:00
..
2025-07-02 20:06:43 -07:00
2025-07-20 22:37:50 -07:00
2025-07-16 00:14:33 -07:00
2025-06-07 00:30:58 -07:00
2025-07-20 22:37:50 -07:00
2025-07-19 04:11:28 -07:00
2025-07-21 02:08:35 -07:00
2025-07-20 22:37:50 -07:00
2025-07-16 19:46:31 -07:00
2025-07-20 22:37:50 -07:00
2025-07-02 20:06:43 -07:00
2025-04-17 19:04:05 -07:00
2025-06-08 05:07:09 -07:00
2025-07-10 00:10:43 -07:00
2025-06-07 00:30:58 -07:00
2025-06-27 22:05:20 -07:00
2025-07-20 22:37:50 -07:00
2025-07-20 22:37:50 -07:00
2025-06-08 05:07:09 -07:00
2025-07-15 16:29:03 -07:00
2025-07-15 22:00:17 -07:00
2025-07-19 04:11:28 -07:00
2025-07-20 22:37:50 -07:00
2025-07-20 22:37:50 -07:00
2025-06-12 14:20:28 -07:00