Skip to content

fix: support virtual entrypoints in onResolve() - #22144

Merged
alii merged 69 commits into
mainfrom
ali/onresolve-entrypoint-bundler-fix
Aug 26, 2025
Merged

alii merged 69 commits into
mainfrom
ali/onresolve-entrypoint-bundler-fix

Conversation

@alii

@alii alii commented Aug 26, 2025 •

Copy link
Copy Markdown
Member

What does this PR do?

Fixes #9862
Fixes #20806

How did you verify your code works?

added some tests

@robobun

robobun commented Aug 26, 2025 •

Copy link
Copy Markdown
Collaborator
Updated 4:00 PM PT - Aug 26th, 2025

❌ @alii, your commit 3bc07b9 has 5 failures in Build #23976:


🧪   To try this PR locally:

bunx bun-pr 22144

That installs a local version of the PR into your bun-22144 executable, so you can run:

bun-22144 --bun

@alii alii changed the title Ali/onresolve entrypoint bundler fix fix: support virtual entrypoints in onResolve() Aug 26, 2025
Comment thread src/bundler/bundle_v2.zig Outdated
Comment thread src/bundler/bundle_v2.zig Outdated
Jarred-Sumner pushed a commit that referenced this pull request Aug 26, 2025
### What does this PR do?

- Implements .onEnd

Fixes #22061

Once #22144 is merged, this also fixes:
Fixes #9862
Fixes #20806

### How did you verify your code works?

Tests

---

TODO in a followup (#22144)
> ~~Make all entrypoints be called in onResolve~~
> ~~Fixes # 9862~~
> ~~Fixes # 20806~~

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Base automatically changed from ali/unplugin-bundler-changes to main August 26, 2025 08:50
@alii
alii requested review from Jarred-Sumner and taylordotfish and removed request for taylordotfish August 26, 2025 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants