Skip to content

chore(build): enable Rspack runtime mode for published packages - #510

Merged
chenjiahan merged 1 commit into
mainfrom
david/chore-enable-rspack-runtime-mode
Sep 23, 2026
Merged

chenjiahan merged 1 commit into
mainfrom
david/chore-enable-rspack-runtime-mode

Conversation

@Timeless0911

Copy link
Copy Markdown
Member

Motivation

Rspack's nested exports binding fix is available through Rslib 1.0.2. This lets the published packages use Rspack runtime mode without the import-meta-resolve external workaround.

Changes

  • Enable runtimeMode: 'rspack' for the rstack and create-rstack library builds.
  • Upgrade Rslib to 1.0.2 and dedupe the lockfile. The Rslib build resolves Rsbuild 2.2.9 and Rspack 2.2.7.
  • Verify the emitted import-meta-resolve code keeps local exports references intact.

Validation: pnpm build, pnpm --filter rstack build:native, pnpm test (388 passed, 1 skipped), pnpm format, and pnpm check.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 774f99d
Status: ✅  Deploy successful!
Preview URL: https://5d835a6a.rstack-cli.pages.dev
Branch Preview URL: https://david-chore-enable-rspack-ru.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan enabled auto-merge (squash) September 23, 2026 07:20
@chenjiahan
chenjiahan disabled auto-merge September 23, 2026 07:56
@chenjiahan
chenjiahan merged commit 8a88d86 into main Sep 23, 2026
5 checks passed
@chenjiahan
chenjiahan deleted the david/chore-enable-rspack-runtime-mode branch September 23, 2026 07:57
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