Skip to content

feat: add Rspack support to Nuxt federation - #10

Open
Nsttt wants to merge 3 commits into
mainfrom
feat/rspack-plugin-support
Open

feat: add Rspack support to Nuxt federation#10
Nsttt wants to merge 3 commits into
mainfrom
feat/rspack-plugin-support

Conversation

@Nsttt

@Nsttt Nsttt commented Jul 29, 2026

Copy link
Copy Markdown
Member

Summary

Add first-class Rspack support to the Nuxt Module Federation module, using Nuxt's Rspack builder path while preserving the existing Vite behavior. The new path supports browser federation and true federated SSR in development and production.

Changes

  • register client and server Module Federation plugins for Rspack, including portable SSR entries, manifest metadata, shared dependency handling, public paths, and server chunk publication
  • add host-rspack and remote-rspack examples with production and development SSR coverage matching the Vite examples
  • migrate the package build from tsdown to Rslib and publish the required runtime entries and declarations
  • add a minor changeset plus regression coverage for Rspack artifacts, exposes, manifests, strict dependency layouts, and SSR recovery

Testing

  • pnpm format:check
  • pnpm typecheck
  • pnpm build
  • pnpm test (37 passing)
  • pnpm build:rspack
  • pnpm pack:nuxt
  • pnpm changeset:status
  • git diff --check origin/main...HEAD

@Nsttt Nsttt self-assigned this Jul 29, 2026
@Nsttt
Nsttt force-pushed the feat/rspack-plugin-support branch from 4b4f26b to 857073c Compare August 3, 2026 11:16
@pkg-pr-new

pkg-pr-new Bot commented Aug 3, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@module-federation/nuxt@10

commit: 59c52a0

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.

1 participant