Skip to content

chore(rspack): rslib bundleless migration#4359

Merged
2heal1 merged 13 commits intomainfrom
rslib/rspack
Feb 10, 2026
Merged

chore(rspack): rslib bundleless migration#4359
2heal1 merged 13 commits intomainfrom
rslib/rspack

Conversation

@ScriptedAlchemy
Copy link
Copy Markdown
Member

@ScriptedAlchemy ScriptedAlchemy commented Feb 2, 2026

Summary

Migrate @module-federation/rspack to an rslib bundleless build and align its dist/export layout.

What Changed

  • packages/rspack:
    • switched build target to rslib build
    • updated package.json main / module / exports to match rslib outputs
    • added rslib.config.ts
    • added export entrypoints (src/plugin.ts, src/remote-entry-plugin.ts)
    • updated runtime entry resolution in ModuleFederationPlugin (resolve dist/index.js)
  • CI:
    • actionlint workflow adjustments (container / binary install path) included in this branch

Testing

  • Not run locally (CI in PR).

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 2, 2026

⚠️ No Changeset found

Latest commit: ec20c89

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@netlify
Copy link
Copy Markdown

netlify bot commented Feb 2, 2026

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit ec20c89
🔍 Latest deploy log https://app.netlify.com/projects/module-federation-docs/deploys/6989cf97e8f36d00085344bc
😎 Deploy Preview https://deploy-preview-4359--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
Copy Markdown
Contributor

github-actions bot commented Feb 5, 2026

Bundle Size Report

1 package(s) changed, 37 unchanged.

Package Total dist Delta ESM gzip Delta
rspack 58.3 kB +23.8 kB (+69.1%) 211 B +21 B (+11.1%)

Total dist: 6.40 MB (+23.8 kB (+0.4%))
Total ESM gzip: 163.0 kB (+21 B (+0.0%))

ScriptedAlchemy and others added 7 commits February 6, 2026 14:53
# Conflicts:
#	.github/workflows/actionlint.yml
raven-actions/actionlint@v2 runs npm install internally which fails
on pnpm workspace repos due to workspace:* protocol. Switch to direct
binary download which has no npm dependency.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@ScriptedAlchemy ScriptedAlchemy changed the title chore(rspack): migrate to rslib bundleless chore(rspack): rslib bundleless migration Feb 9, 2026
@2heal1 2heal1 merged commit c38d1be into main Feb 10, 2026
23 checks passed
@2heal1 2heal1 deleted the rslib/rspack branch February 10, 2026 08:09
@2heal1 2heal1 mentioned this pull request Feb 12, 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