Claude Bot
704a5865da
fix: revert to needsWrapperRef() for wrapper_ref creation
...
The previous commit incorrectly always created wrapper_ref, which caused
unnecessary wrapper functions to be generated for modules that don't need
wrapping (e.g., modules with only function declarations).
This reverts P.zig to use needsWrapperRef() to determine whether to create
the wrapper_ref symbol. This is a Bun-specific optimization that differs
from esbuild's behavior (esbuild always creates the symbol but doesn't
always use it).
The actual fix for the Ref.None issues is in computeCrossChunkDependencies.zig:
- Use exports_refs instead of wrapper_refs for force_include_exports_for_entry_point
- Check flags.wrap != .none before adding wrapper_refs to imports
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-17 02:04:48 +00:00
..
2025-12-19 23:18:21 -08:00
2025-12-11 17:44:14 -08:00
2026-01-17 02:04:48 +00:00
2025-12-15 12:51:13 -08:00
2026-01-07 23:23:27 -08:00
2026-01-16 16:23:01 -08:00
2026-01-17 01:00:09 +00:00
2026-01-15 23:40:45 -08:00
2026-01-15 10:26:43 -08:00
2026-01-06 23:05:01 +00:00
2025-11-10 14:38:26 -08:00
2026-01-14 13:34:31 -08:00
2026-01-02 04:52:47 -08:00
2025-11-10 14:38:26 -08:00
2025-11-23 01:41:17 -08:00
2026-01-15 23:02:16 -08:00
2025-12-05 18:32:51 -08:00
2026-01-14 18:22:32 -08:00
2026-01-16 16:23:01 -08:00
2026-01-14 18:37:54 -08:00
2026-01-16 10:12:28 -08:00
2026-01-09 16:56:31 -08:00
2025-12-15 19:50:11 -08:00
2025-11-24 20:16:03 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-12-25 23:49:23 -08:00
2026-01-15 18:09:33 -08:00
2025-11-10 14:38:26 -08:00
2025-11-20 20:56:02 -08:00
2026-01-14 18:37:54 -08:00
2025-11-10 14:38:26 -08:00
2026-01-14 12:53:04 -08:00
2026-01-16 16:12:23 -08:00
2026-01-09 00:33:35 -08:00
2025-11-10 14:38:26 -08:00
2025-12-22 12:07:24 -08:00
2025-12-01 21:59:11 -08:00
2025-12-25 14:00:58 -08:00
2026-01-14 16:46:20 -08:00
2025-11-10 14:38:26 -08:00
2025-10-31 19:50:55 -07:00
2025-11-26 00:02:43 -08:00
2025-11-05 15:28:28 -08:00
2025-11-10 14:38:26 -08:00
2025-10-23 23:08:08 -07:00
2026-01-05 10:21:49 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2026-01-14 16:08:49 -08:00
2025-12-11 17:44:14 -08:00
2025-11-25 11:06:24 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 19:58:02 -08:00
2026-01-07 12:33:21 -08:00
2026-01-14 13:10:53 -08:00
2025-11-18 10:49:21 -08:00
2025-10-29 19:29:04 -07:00
2025-11-03 22:20:07 -08:00
2025-11-10 14:38:26 -08:00
2025-11-20 20:56:02 -08:00
2025-11-20 20:56:02 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-12-19 23:17:29 -08:00
2026-01-07 16:09:49 -08:00
2025-11-20 23:37:31 -08:00
2025-11-10 14:38:26 -08:00
2025-11-18 10:49:21 -08:00
2025-10-23 23:08:08 -07:00
2025-11-10 14:38:26 -08:00
2026-01-07 16:09:49 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2026-01-15 23:02:16 -08:00
2026-01-07 22:46:51 -08:00
2025-12-17 19:56:25 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2026-01-15 16:42:17 -08:00
2025-11-10 14:38:26 -08:00
2025-12-21 17:12:42 -08:00
2025-10-23 23:08:08 -07:00
2025-12-21 17:12:42 -08:00
2026-01-16 14:18:48 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2026-01-07 22:46:51 -08:00
2025-11-30 23:11:33 -08:00
2026-01-07 16:09:49 -08:00
2025-11-10 14:38:26 -08:00
2025-12-06 16:37:09 -08:00
2025-12-01 21:59:11 -08:00
2025-11-10 14:38:26 -08:00
2025-11-13 19:29:16 -08:00
2026-01-14 12:52:41 -08:00
2025-11-15 16:36:15 -08:00
2025-12-11 17:44:14 -08:00
2025-11-10 14:38:26 -08:00
2026-01-14 16:08:49 -08:00
2025-11-10 14:38:26 -08:00
2025-11-28 22:56:28 -08:00
2025-12-15 19:50:11 -08:00
2025-12-15 19:50:11 -08:00
2025-11-10 14:38:26 -08:00
2026-01-14 13:31:06 -08:00
2025-11-10 14:38:26 -08:00
2025-12-21 17:12:42 -08:00
2025-12-15 13:21:41 -08:00
2025-11-10 14:38:26 -08:00
2026-01-14 16:46:20 -08:00
2025-11-30 23:11:33 -08:00
2025-11-10 14:38:26 -08:00
2025-12-18 21:42:14 -08:00