Skip to content

fix(dev): ship newly imported modules the client never received - #11029

Merged
graphite-app[bot] merged 1 commit into
mainfrom
fix/dev-ship-new-static-deps
Oct 2, 2026
Merged

graphite-app[bot] merged 1 commit into
mainfrom
fix/dev-ship-new-static-deps

Conversation

@h-a-n-a

@h-a-n-a h-a-n-a commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

Problem

Adding an import could break a hot update.

  1. heavy.js is in the module graph, but only through an import() that tab B never called. Tab B does not have it.
  2. An edit adds import './heavy.js' to hmr.js.
  3. The patch includes hmr.js but not heavy.js, because heavy.js is not new and does not import the changed module.
  4. Tab B re-runs hmr.js, which throws MissingFactoryError. The page keeps the old code and does not reload.
flowchart LR
  hmr["hmr.js — edited"] -- "new import" --> heavy["heavy.js — tab B never got it"]
Loading

Fix

The patch now also sends the modules that an edit newly imports, and their imports, when the tab does not have them. Old imports are not checked again: the tab already ran them.

If the patch fails after the edit is merged, the page reloads instead (#11031), so a new import is never lost.

Part of #10039 (review list item 3).

🤖 Generated with Claude Code

h-a-n-a commented Sep 29, 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.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://fix-dev-ship-new-static-deps-rolldown-rs.voidzero-docs.workers.dev (commit ffb6509)

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://3c87dbcb-rolldown-rs.voidzero-docs.workers.dev ffb6509 2026-10-02T17:36:04.771Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://c5d0d46f-rolldown-rs.voidzero-docs.workers.dev 86006d9 2026-10-02T17:30:14.460Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://c9d0403d-rolldown-rs.voidzero-docs.workers.dev 0dbc3ef 2026-10-02T07:35:32.367Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://d682cb3b-rolldown-rs.voidzero-docs.workers.dev e0e07e2 2026-10-02T06:56:16.377Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://49e61029-rolldown-rs.voidzero-docs.workers.dev 64fa987 2026-10-01T12:28:52.046Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://3b10b407-rolldown-rs.voidzero-docs.workers.dev 08ead9b 2026-10-01T11:54:58.012Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://c4532c51-rolldown-rs.voidzero-docs.workers.dev 2835f85 2026-10-01T10:35:46.128Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://50b7e2a7-rolldown-rs.voidzero-docs.workers.dev 1544191 2026-10-01T09:37:16.647Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://b7af6b8e-rolldown-rs.voidzero-docs.workers.dev a2106b6 2026-10-01T08:29:44.746Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://434f6761-rolldown-rs.voidzero-docs.workers.dev 7066070 2026-10-01T07:56:49.530Z Visit the dashboard ↗

View all previews: View all previews ↗

@h-a-n-a
h-a-n-a force-pushed the fix/dev-ship-new-static-deps branch from e98b738 to a2030c6 Compare September 29, 2026 11:09
@h-a-n-a
h-a-n-a force-pushed the fix/dev-lazy-walk-through-shipped branch from 81222b7 to 6c7d3bd Compare September 29, 2026 11:09
h-a-n-a added a commit that referenced this pull request Oct 1, 2026
An HMR update that failed partway was lost. When an edit was already merged into the module graph but the patch could not be rendered (for example, because a `sourcemapPathTransform` callback threw), no tab received the update, and the next update did not send it again. The edited module's new code then never reached the tabs, unless that same file was edited again.

Even then, an import that the lost edit added was not sent. If it pointed to a module the tab had never received, the next hot update of that file threw `MissingFactoryError`.

Found in review of #11029.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
@h-a-n-a
h-a-n-a force-pushed the fix/dev-ship-new-static-deps branch from a2030c6 to 7066070 Compare October 1, 2026 07:54
@h-a-n-a
h-a-n-a force-pushed the fix/dev-lazy-walk-through-shipped branch from 6c7d3bd to 4255e33 Compare October 1, 2026 07:54
h-a-n-a added a commit that referenced this pull request Oct 1, 2026
An HMR update that failed partway was lost. When an edit was already merged into the module graph but the patch could not be rendered (for example, because a `sourcemapPathTransform` callback threw), no tab received the update, and the next update did not send it again. The edited module's new code then never reached the tabs, unless that same file was edited again.

Even then, an import that the lost edit added was not sent. If it pointed to a module the tab had never received, the next hot update of that file threw `MissingFactoryError`.

Found in review of #11029.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
h-a-n-a added a commit that referenced this pull request Oct 1, 2026
An HMR update that failed partway was lost. When an edit was already merged into the module graph but the patch could not be rendered (for example, because a `sourcemapPathTransform` callback threw), no tab received the update, and the next update did not send it again. The edited module's new code then never reached the tabs, unless that same file was edited again.

Even then, an import that the lost edit added was not sent. If it pointed to a module the tab had never received, the next hot update of that file threw `MissingFactoryError`.

Found in review of #11029.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
@h-a-n-a
h-a-n-a force-pushed the fix/dev-lazy-walk-through-shipped branch from 4255e33 to 7e237f9 Compare October 1, 2026 08:27
@h-a-n-a
h-a-n-a force-pushed the fix/dev-ship-new-static-deps branch from 7066070 to a2106b6 Compare October 1, 2026 08:27
h-a-n-a added a commit that referenced this pull request Oct 1, 2026
An HMR update that failed partway was lost. When an edit was already merged into the module graph but the patch could not be rendered (for example, because a `sourcemapPathTransform` callback threw), no tab received the update, and the next update did not send it again. The edited module's new code then never reached the tabs, unless that same file was edited again.

Even then, an import that the lost edit added was not sent. If it pointed to a module the tab had never received, the next hot update of that file threw `MissingFactoryError`.

A full build drops the pending update. Vite runs one when a page loads after the failure, and then reloads every tab, so every tab already runs the edit. Sending it again would re-run the edited modules, or reload the tabs a second time.

A lost update of a file that is deleted later is not sent again. No tab can run that module anymore, and reading the missing file again would make every later update fail, even after its last import was removed. If a module still imports the deleted file, the update reports that import as unresolved, as before.

Found in review of #11029.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
h-a-n-a added a commit that referenced this pull request Oct 1, 2026
An HMR update that failed partway was lost. When an edit was already merged into the module graph but the patch could not be rendered (for example, because a `sourcemapPathTransform` callback threw), no tab received the update, and the next update did not send it again. The edited module's new code then never reached the tabs, unless that same file was edited again.

Even then, an import that the lost edit added was not sent. If it pointed to a module the tab had never received, the next hot update of that file threw `MissingFactoryError`.

A full build drops the pending update. Vite runs one when a page loads after the failure, and then reloads every tab, so every tab already runs the edit. Sending it again would re-run the edited modules, or reload the tabs a second time.

A lost update of a file that is deleted later is not sent again. No tab can run that module anymore, and reading the missing file again would make every later update fail, even after its last import was removed. If a module still imports the deleted file, the update reports that import as unresolved, as before.

Found in review of #11029.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
@h-a-n-a
h-a-n-a marked this pull request as ready for review October 1, 2026 09:18

@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: a2106b6ab1

ℹ️ 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 crates/rolldown/src/hmr/hmr_stage.rs Resolved
@codspeed

codspeed Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 7 untouched benchmarks
⏩ 10 skipped benchmarks1


Comparing fix/dev-ship-new-static-deps (86006d9) with main (794bf09)

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 added a commit that referenced this pull request Oct 1, 2026
An HMR update that failed partway was lost. When an edit was already merged into the module graph but the patch could not be rendered (for example, because a `sourcemapPathTransform` callback threw), no tab received the update, and the next update did not send it again. The edited module's new code then never reached the tabs, unless that same file was edited again.

Even then, an import that the lost edit added was not sent. If it pointed to a module the tab had never received, the next hot update of that file threw `MissingFactoryError`.

A full build drops the pending update. Vite runs one when a page loads after the failure, and then reloads every tab, so every tab already runs the edit. Sending it again would re-run the edited modules, or reload the tabs a second time.

A lost update of a file that is deleted later is not sent again. No tab can run that module anymore, and reading the missing file again would make every later update fail, even after its last import was removed. If a module still imports the deleted file, the update reports that import as unresolved, as before.

Found in review of #11029.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
@h-a-n-a
h-a-n-a force-pushed the fix/dev-ship-new-static-deps branch from a2106b6 to 1544191 Compare October 1, 2026 09:33
@h-a-n-a
h-a-n-a force-pushed the fix/dev-lazy-walk-through-shipped branch from 7e237f9 to 5b5a838 Compare October 1, 2026 09:33
@h-a-n-a
h-a-n-a changed the base branch from fix/dev-lazy-walk-through-shipped to graphite-base/11029 October 1, 2026 10:33
@h-a-n-a
h-a-n-a force-pushed the fix/dev-ship-new-static-deps branch from 1544191 to 2835f85 Compare October 1, 2026 10:33
@h-a-n-a
h-a-n-a changed the base branch from graphite-base/11029 to fix/dev-resend-failed-hmr-update October 1, 2026 10:33
@h-a-n-a
h-a-n-a force-pushed the graphite-base/11029 branch from 3942d1b to 5a9c2e2 Compare October 1, 2026 16:31
@h-a-n-a
h-a-n-a force-pushed the fix/dev-ship-new-static-deps branch from 4467a03 to 81015be Compare October 1, 2026 16:31
@h-a-n-a
h-a-n-a changed the base branch from graphite-base/11029 to fix/dev-resend-failed-hmr-update October 1, 2026 16:31
@h-a-n-a
h-a-n-a changed the base branch from fix/dev-resend-failed-hmr-update to graphite-base/11029 October 2, 2026 06:43
@h-a-n-a
h-a-n-a force-pushed the fix/dev-ship-new-static-deps branch from 81015be to e0e07e2 Compare October 2, 2026 06:54
@h-a-n-a
h-a-n-a force-pushed the graphite-base/11029 branch from 5a9c2e2 to 1fb505e Compare October 2, 2026 06:54
@h-a-n-a
h-a-n-a changed the base branch from graphite-base/11029 to fix/dev-resend-failed-hmr-update October 2, 2026 06:54
@graphite-app
graphite-app Bot force-pushed the fix/dev-resend-failed-hmr-update branch 2 times, most recently from 1a4f85c to cf6326d Compare October 2, 2026 07:33
@graphite-app
graphite-app Bot force-pushed the fix/dev-ship-new-static-deps branch from e0e07e2 to 0dbc3ef Compare October 2, 2026 07:33
@graphite-app
graphite-app Bot changed the base branch from fix/dev-resend-failed-hmr-update to graphite-base/11029 October 2, 2026 08:51

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

Copy link
Copy Markdown
Member Author

Merge activity

  • Oct 2, 8:52 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 2, 8:53 AM UTC: h-a-n-a added this pull request to the Graphite merge queue.
  • Oct 2, 8:56 AM UTC: The Graphite merge queue couldn't merge this PR because it had merge conflicts.
  • Oct 2, 5:28 PM 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 2, 5:32 PM UTC: h-a-n-a added this pull request to the Graphite merge queue.
  • Oct 2, 5:38 PM UTC: Merged by the Graphite merge queue.

@graphite-app
graphite-app Bot changed the base branch from graphite-base/11029 to main October 2, 2026 08:55
@h-a-n-a
h-a-n-a force-pushed the fix/dev-ship-new-static-deps branch from 0dbc3ef to 86006d9 Compare October 2, 2026 17:27
@netlify

netlify Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for rolldown-rs canceled.

Name Link
🔨 Latest commit ffb6509
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/6abfeada4d23ca00098060eb

## Problem

Adding an import could break a hot update.

1. `heavy.js` is in the module graph, but only through an `import()` that tab B never called. Tab B does not have it.
2. An edit adds `import './heavy.js'` to `hmr.js`.
3. The patch includes `hmr.js` but not `heavy.js`, because `heavy.js` is not new and does not import the changed module.
4. Tab B re-runs `hmr.js`, which throws `MissingFactoryError`. The page keeps the old code and does not reload.

```mermaid
flowchart LR
  hmr["hmr.js — edited"] -- "new import" --> heavy["heavy.js — tab B never got it"]
```

## Fix

The patch now also sends the modules that an edit newly imports, and their imports, when the tab does not have them. Old imports are not checked again: the tab already ran them.

If the patch fails after the edit is merged, the page reloads instead (#11031), so a new import is never lost.

Part of #10039 (review list item 3).

🤖 Generated with [Claude Code](https://claude.com/claude-code)
@graphite-app
graphite-app Bot force-pushed the fix/dev-ship-new-static-deps branch from 86006d9 to ffb6509 Compare October 2, 2026 17:33
@graphite-app
graphite-app Bot merged commit ffb6509 into main Oct 2, 2026
37 checks passed
@graphite-app
graphite-app Bot deleted the fix/dev-ship-new-static-deps branch October 2, 2026 17:38
Brooooooklyn added a commit that referenced this pull request Oct 5, 2026
Brings in 10 main commits (ffb6509..a745574): the dev fixes #11029
and #11030, the chunk syntax error fix #11051, the async `transform`
TsconfigCache fix #11080, rustc 1.99.0, and the napi / npm / rust crate
bumps.

Conflicts and how they were resolved:
- crates/rolldown_dev/src/bundling_task.rs (imports): keep the branch's
  `async_lock::Mutex`, `ArcStr` (retired_watch_files) and
  `DevCallbackResult`; drop `tokio::sync::Mutex` and the now unused
  `FxHashMap` (main's #11029 removed its last use). The body merged
  cleanly, including main's per-client `top_level_evaluated` snapshot.
- internal-docs/dev-engine/implementation.md (panic sites): keep the
  branch's list (no watcher_event_handler send/expect on this branch) and
  point the line refs at the merged file (bundling_task.rs:119-126,
  bundle_coordinator.rs:362, 463); same for the `run()` ref in the
  producers list.
- packages/rolldown/src/rolldown-binding.wasi.cjs: generated; take the
  branch's copy (emitted by the validation cli tarball, a superset of
  main's cli 3.10.6 output). The rebuild re-emitted it byte for byte.
- pnpm-workspace.yaml: keep the branch's overrides, emnapi
  2.0.0-alpha.6 pins, comments and `wrangler`; take main's `ws ^8.22.0`.
  Main changed no other catalog line.
- Cargo.lock: main's lock as the base, re-resolved by cargo for the
  patched napi crates. Then main's windows-sys 0.59 picks for colored,
  errno, nu-ansi-term, rustix, tempfile, terminal_size and winapi-util
  were put back (cargo had moved them to 0.61.2); `cargo metadata
  --locked` and `just lint-rust` (`cargo check --locked`) accept the
  lock. The diff to main is only the six napi crates on the git patch,
  parking_lot_core on its git patch, the branch's added crates
  (arc-swap, async-broadcast, async-lock, async-task,
  napi-async-runtime), the removed async-scoped / pin-project(-internal),
  and the workspace crates' dependency lists.
- pnpm-lock.yaml: main's lock plus `pnpm install`. The diff to main is
  only the branch's overrides and catalog (cli tarball instead of
  @napi-rs/cli 3.10.6, emnapi 2.0.0-alpha.6 / @emnapi/wasi-threads 2.2.0,
  @napi-rs/async-runtime, buffer, miniflare, wrangler and their deps).

Auto-merged with both sides: Cargo.toml (main's bumps + the branch's
pins and [patch.crates-io]), package.json, crates/rolldown_dev/src/
dev_engine.rs, packages/rolldown/tests/dev/dev-runtime.test.ts,
internal-docs/lazy-compilation/implementation.md,
.github/workflows/reusable-release-build.yml. The TsconfigCache fix
(#11080) merged cleanly: this branch never touched transform.rs or
transform_cache.rs, and main's new GC test passes on the native lane.

napi patch rev: kept e6e50eb4. Main's 1aef0a4 resolves napi 3.14.0,
napi-build 2.6.0, napi-derive 3.6.10, napi-derive-backend 6.1.4,
napi-sys 3.4.0, the same versions e6e50eb4 (and 26b63158) carry, and
the branch already requires those minimums. No "was not used" patch
warning.

rustc 1.99.0: on wasm32-wasip1-threads std no longer runs thread_local
destructors at thread exit (rust-lang/rust#160868). The WASI lanes were
rerun on 1.99.0: memory-stress peaks match the previous 1.98.1 run
(heap-ceiling repeated 7 times: memoryPages 29186 or 29442, the old run
29186), lifecycle (restart cases) and crash latch unchanged, pool
preload 20/20. Main's rustc bump also brings `deprecated = "allow"` for
oxc_index's `u32::max_value()`.

Regen: native, threaded WASI, single WASI, native. No generated file
changed: binding.cjs / binding.d.cts, the loaders and wasi workers are
byte-identical to the branch head (the branch already had napi 3.14.0).

Tests (all on this merge, rustc 1.99.0):
- just test-rust: 2578 passed, 0 failed, no snapshot changes
- just test-async-runtime-binding, just check-no-tokio, just lint-rust
- test:main: 1651 passed, 23 skipped
- threaded WASI: MT/CT tests, dist files, stability, lifecycle, 7
  stress modes, crash latch, pool preload 20/20
- single WASI: dist files, threadless, staging, binding deps, workerd
  memory canary, test:wasi (1583 passed, 91 skipped)
- check-wasi-binding-packed-consumer (Node 24 + 20), runtime-contract,
  check-workerd-packed-consumer, browser-tests prepare-fixture,
  webcontainer-fallback, test-browser
- just lint-node, typos, ls-lint, vp fmt --check

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01T34fMrYCf2V13Mg8BKmnda
@rolldown-guard rolldown-guard Bot mentioned this pull request Oct 7, 2026
shulaoda added a commit that referenced this pull request Oct 7, 2026
## [1.2.13] - 2026-10-07

### 🚀 Features

- rolldown_plugin_vite_import_glob: follow file creation and deletion via hotUpdate (#10550) by @shulaoda
- inline-common-chunks: deduplicate shared code along known loading paths (#11093) by @hyfdev
- rolldown_plugin_vite_import_glob: record a matcher per glob call in dev (#10592) by @shulaoda
- rolldown_plugin_vite_import_glob: watch the directory each glob reads (#10549) by @shulaoda
- watch: hand watch.exclude to notify as its ignore filter (#11008) by @shulaoda
- dev: add `experimental.devMode.hotUpdate` option (#11123) by @h-a-n-a

### 🐛 Bug Fixes

- renamer: check the printed name of namespace-alias imports for captures (#11129) by @IWANABETHATGUY
- devtools: honor `devtools.sessionId` by @Brooooooklyn
- renamer: keep a renamed nested binding off its module's top-level bindings (#11128) by @IWANABETHATGUY
- dev: keep `this` undefined when calling an imported function in HMR patches and lazy chunks (#11126) by @h-a-n-a
- dev: read string-named imports correctly in HMR patches and lazy chunks (#11127) by @h-a-n-a
- sanitize preserveModules chunk names after resolving the relative path (#11087) by @waltuov
- keep the `with` clause on bare external imports (#11100) by @IWANABETHATGUY
- generator: filter DISABLE_JS_HOOK bits from generated HookUsage (#10346) by @Brooooooklyn
- dev: make the module factory async for top-level await (#11118) by @h-a-n-a
- node: give each renderChunk call its own meta object (#11115) by @Brooooooklyn
- honor `externalLiveBindings` for imported exports (#11048) by @camc314
- dev: keep a late payload from replacing newer module code (#11030) by @h-a-n-a
- binding: use-after-free in async `transform` with a `TsconfigCache` (#11080) by @shulaoda
- fail on chunk syntax errors and escape export names once (#11051) by @hyfdev
- dev: ship newly imported modules the client never received (#11029) by @h-a-n-a
- code-splitting: avoid cycles from redundant re-export initialization (#11073) by @hyfdev
- link: treat re-exports of the same external binding as one export (#11069) by @IWANABETHATGUY
- escape namespace properties in IIFE and UMD output (#11085) by @hyfdev
- escape dependency paths in CJS and UMD output (#11084) by @hyfdev
- use computed access for arbitrary import names (#11083) by @hyfdev
- generate valid bindings for shimmed exports (#11082) by @hyfdev
- dev: reload the page when an HMR update fails after merging its edit (#11031) by @h-a-n-a
- dev/lazy: ship the deps of a module that a patch shipped but never ran (#11028) by @h-a-n-a
- code-splitting: don't move init calls in front of unwrapped JSON modules (#11062) by @IWANABETHATGUY
- escape export names in `defineProperty` calls (#11047) by @camc314

### 📚 Documentation

- say the CLI bundles multiple configs one after another (#11111) by @Brooooooklyn
- add `renderChunk` hook filter docs (#11065) by @sapphi-red

### ⚡ Performance

- use `concat_string!` instead of `format!` for plain string joins (#11139) by @IWANABETHATGUY
- utils: evaluate each `concat_string!` argument once (#11105) by @IWANABETHATGUY
- json: escape `JSON.parse` string with `json-escape-simd` (#11104) by @IWANABETHATGUY
- unwrap JSON modules with a non-object root (#11066) by @IWANABETHATGUY

### 🧪 Testing

- inline-common-chunks: fix flaky inlineCommonChunks concurrent imports (#11088) by @hyfdev

### ⚙️ Miscellaneous Tasks

- deps: upgrade oxc to 0.153.0 (#11109) by @camc314
- update pnpm to v12 (#10876) by @btea
- deps: update pnpm to v11.28.0 (#11049) by @renovate[bot]
- deps: update rollup submodule for tests to v4.64.0 (#11116) by @rolldown-guard[bot]
- deps: update napi (#11137) by @renovate[bot]
- scripts: spawn the rolldown CLI without a shell in setup-vite (#10875) by @Brooooooklyn
- deps: bump `@napi-rs/wasm-runtime` to `~1.2.5` (#11117) by @shulaoda
- deps: update napi (#11108) by @renovate[bot]
- deps: update taiki-e/install-action action to v2.87.22 (#11096) by @renovate[bot]
- deps: update npm packages (#11095) by @renovate[bot]
- deps: update rust crates (#11097) by @renovate[bot]
- deps: update napi (#11063) by @renovate[bot]
- deps: update dependency rust to v1.99.0 (#11071) by @renovate[bot]
- deps: update dependency vite-plus to v1 (#11056) by @renovate[bot]

Co-authored-by: shulaoda <[email protected]>
hyfdev added a commit to matthewdavis-oai/rolldown that referenced this pull request Oct 29, 2026
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