Skip to content

feat(rolldown_plugin_vite_resolve): add isBundled to pick the browser-external stub format - #11260

Merged
graphite-app[bot] merged 1 commit into
mainfrom
fix/vite-resolve-is-bundled
Oct 21, 2026
Merged

graphite-app[bot] merged 1 commit into
mainfrom
fix/vite-resolve-is-bundled

Conversation

@h-a-n-a

@h-a-n-a h-a-n-a commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Add a new is_bundled to control whether to emit the browser external stub (Proxy): vitejs/vite#23858 (comment).

It's backwards compatible: is_bundled defaults to is_build.

h-a-n-a commented Oct 21, 2026

Copy link
Copy Markdown
Member Author

How to use the Graphite Merge Queue

Add the label graphite: merge-when-ready to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@netlify

netlify Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for rolldown-rs ready!

Name Link
🔨 Latest commit 3b0841e
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/6ad894bb1c8f477d0f29d6dc
😎 Deploy Preview https://deploy-preview-11260--rolldown-rs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://fix-vite-resolve-is-bundled-rolldown-rs.voidzero-docs.workers.dev (commit 3b0841e)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://0a2006f7-rolldown-rs.voidzero-docs.workers.dev 3b0841e 2026-10-21T10:34:11.066Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://6988cd9d-rolldown-rs.voidzero-docs.workers.dev 8e3a54a 2026-10-21T10:03:54.681Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://f048ab5a-rolldown-rs.voidzero-docs.workers.dev 2152e65 2026-10-21T09:55:36.473Z Visit the dashboard ↗

@h-a-n-a
h-a-n-a marked this pull request as ready for review October 21, 2026 10:01
@h-a-n-a
h-a-n-a force-pushed the fix/vite-resolve-is-bundled branch from 2152e65 to 8e3a54a Compare October 21, 2026 10:01
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-21T10:04:15.710697Z 2152e65 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2152e65d7a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/rolldown/src/binding.d.cts Resolved
@codspeed

codspeed Bot commented Oct 21, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

⚠️ 4 benchmarks spent significant time in system calls

System calls cannot be consistently instrumented, so they are not included in the measure, which understates the real cost. Please switch to the Walltime instrument to accurately measure system calls.

Measurement and system calls

✅ 7 untouched benchmarks
⏩ 10 skipped benchmarks1


Comparing fix/vite-resolve-is-bundled (8e3a54a) with main (889799e)

Open in CodSpeed

Footnotes

  1. 10 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

h-a-n-a commented Oct 21, 2026 •

Copy link
Copy Markdown
Member Author

Merge activity

  • Oct 21, 10:24 AM UTC: The merge label 'graphite: merge-when-ready' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Oct 21, 10:31 AM UTC: h-a-n-a added this pull request to the Graphite merge queue.
  • Oct 21, 10:37 AM UTC: Merged by the Graphite merge queue.

…er-external stub format (#11260)

Add a new `is_bundled` to control whether to emit the browser external stub (Proxy): vitejs/vite#23858 (comment).

It's backwards compatible: `is_bundled` defaults to `is_build`.
@graphite-app
graphite-app Bot force-pushed the fix/vite-resolve-is-bundled branch from 8e3a54a to 3b0841e Compare October 21, 2026 10:32
@graphite-app
graphite-app Bot merged commit 3b0841e into main Oct 21, 2026
37 checks passed
@graphite-app
graphite-app Bot deleted the fix/vite-resolve-is-bundled branch October 21, 2026 10:37
@rolldown-guard rolldown-guard Bot mentioned this pull request Oct 21, 2026
shulaoda added a commit that referenced this pull request Oct 21, 2026
## [1.2.15] - 2026-10-21

### 🚀 Features

- rolldown_plugin_vite_resolve: add `isBundled` to pick the browser-external stub format (#11260) by @h-a-n-a
- dev: mark entry modules in the HMR module graph (#11252) by @h-a-n-a
- mark module starts with `// <id>` comments instead of `#region` pairs (#11235) by @IWANABETHATGUY

### 🐛 Bug Fixes

- plugin: stop `this.resolve` recursion between plugins with `skipSelf: true` (#11181) by @anzal1
- rolldown_plugin_vite_resolve: handle external `require` for `ssr.target: 'webworker'` (#11205) by @sapphi-red
- rolldown_plugin_vite_build_import_analysis: only wrap dynamic imports with static specifiers in __vitePreload (#10879) by @smeng9
- strict-execution-order: wrap eager modules that forward wrapped definers (#11186) by @hyfdev
- chunk-import-map: keep common chunk keys unique when enabling inline common chunks (#11230) by @hyfdev
- only register signal-exit handler when a trace subscriber is active (#11208) by @DaniilIsupov

### 🧪 Testing

- fold hand-unrolled Rust test tables (#11212) by @Brooooooklyn

### ⚙️ Miscellaneous Tasks

- deps: upgrade oxc to 0.155.0 (#11228) by @Dunqing
- rollup-tests: retriage failed tests (#11251) by @sapphi-red
- deps: update rollup submodule for tests to v4.64.12 (#11249) by @rolldown-guard[bot]
- deps: update test262 submodule for tests (#11242) by @rolldown-guard[bot]

### ❤️ New Contributors

* @anzal1 made their first contribution in [#11181](#11181)
* @smeng9 made their first contribution in [#10879](#10879)
* @DaniilIsupov made their first contribution in [#11208](#11208)

Co-authored-by: shulaoda <[email protected]>

This branch was previously deployed

1 inactive deployment
void — 3b0841ef Deployed Oct 21, 2026 by graphite-app[bot] via Deploy to Void #6011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants