Skip to content

chore(sdk): migrate to rslib bundleless and align runtime-core loading#4356

Merged
ScriptedAlchemy merged 139 commits intorslib/runtimefrom
rslib/sdk
Feb 16, 2026
Merged

chore(sdk): migrate to rslib bundleless and align runtime-core loading#4356
ScriptedAlchemy merged 139 commits intorslib/runtimefrom
rslib/sdk

Conversation

@ScriptedAlchemy
Copy link
Member

@ScriptedAlchemy ScriptedAlchemy commented Feb 2, 2026

Summary

  • migrate @module-federation/sdk to rslib bundleless configuration
  • update SDK package/project/tsconfig build wiring for bundleless output
  • align runtime-core loader import paths to safely resolve optional loadScriptNode in Node runtimes

Changed Packages

  • @module-federation/sdk
  • @module-federation/runtime-core

Changesets

  • .changeset/wet-carpets-begin.md (@module-federation/sdk: patch, @module-federation/runtime-core: patch)

Base

  • main

@changeset-bot
Copy link

changeset-bot bot commented Feb 2, 2026

🦋 Changeset detected

Latest commit: 28d9c26

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 43 packages
Name Type
@module-federation/enhanced Patch
@module-federation/inject-external-runtime-core-plugin Patch
@module-federation/webpack-bundler-runtime Patch
@module-federation/runtime-tools Patch
@module-federation/runtime-core Patch
@module-federation/sdk Patch
@module-federation/modern-js-v3 Patch
@module-federation/modern-js Patch
@module-federation/nextjs-mf Patch
@module-federation/node Patch
@module-federation/rsbuild-plugin Patch
@module-federation/rspress-plugin Patch
@module-federation/storybook-addon Patch
shared-tree-shaking-no-server-host Patch
shared-tree-shaking-no-server-provider Patch
@module-federation/rspack Patch
@module-federation/runtime Patch
@module-federation/bridge-react Patch
@module-federation/devtools Patch
@module-federation/cli Patch
@module-federation/data-prefetch Patch
@module-federation/dts-plugin Patch
@module-federation/esbuild Patch
@module-federation/managers Patch
@module-federation/manifest Patch
@module-federation/metro Patch
@module-federation/retry-plugin Patch
@module-federation/utilities Patch
@module-federation/bridge-react-webpack-plugin Patch
@module-federation/bridge-vue3 Patch
shared-tree-shaking-with-server-host Patch
shared-tree-shaking-with-server-provider Patch
remote5 Patch
remote6 Patch
website-new Patch
@module-federation/metro-plugin-rnc-cli Patch
@module-federation/metro-plugin-rnef Patch
@module-federation/third-party-dts-extractor Patch
@module-federation/bridge-shared Patch
@module-federation/error-codes Patch
create-module-federation Patch
@module-federation/treeshake-server Patch
@module-federation/treeshake-frontend Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify
Copy link

netlify bot commented Feb 2, 2026

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit 69201d9
🔍 Latest deploy log https://app.netlify.com/projects/module-federation-docs/deploys/6990fb541fb29f00081bfb80
😎 Deploy Preview https://deploy-preview-4356--module-federation-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

Bundle Size Report

5 package(s) changed, 33 unchanged.

Package Total dist Delta ESM gzip Delta
sdk 172.5 kB +67.9 kB (+64.9%) 460 B -7856 B (-94.5%)
bridge-react 383.2 kB +23.6 kB (+6.6%) 1.3 kB +2 B (+0.2%)
vue3-bridge 145.3 kB -13885 B (-8.5%) 22.7 kB -516 B (-2.2%)
runtime-core 306.3 kB +1.3 kB (+0.4%) 25.6 kB +104 B (+0.4%)
webpack-bundler-runtime 76.5 kB -4 B (-0.0%) 5.9 kB no change

Total dist: 6.74 MB (+79.2 kB (+1.2%))
Total ESM gzip: 130.0 kB (-8266 B (-5.8%))

@ScriptedAlchemy ScriptedAlchemy changed the base branch from main to rslib/runtime February 15, 2026 03:30
ScriptedAlchemy and others added 23 commits February 14, 2026 19:31
# Conflicts:
#	apps/manifest-demo/3009-webpack-provider/webpack.config.js
# Conflicts:
#	packages/enhanced/src/lib/container/runtime/FederationRuntimePlugin.ts
…nto rslib/runtime-tools

# Conflicts:
#	packages/node/src/runtimePlugin.ts
@ScriptedAlchemy ScriptedAlchemy merged commit 28d9c26 into rslib/runtime Feb 16, 2026
5 of 6 checks passed
@ScriptedAlchemy ScriptedAlchemy deleted the rslib/sdk branch February 16, 2026 04:21
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