Skip to content

docs(browser): update BrowserHttpImportEsmPlugin and add "Using Module Federation"#11640

Merged
chenjiahan merged 4 commits intoweb-infra-dev:mainfrom
CPunisher:09-11-docs/browser-mf
Sep 11, 2025
Merged

docs(browser): update BrowserHttpImportEsmPlugin and add "Using Module Federation"#11640
chenjiahan merged 4 commits intoweb-infra-dev:mainfrom
CPunisher:09-11-docs/browser-mf

Conversation

@CPunisher
Copy link
Contributor

Summary

See the docs

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link

netlify bot commented Sep 11, 2025

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit 64042d0
🔍 Latest deploy log https://app.netlify.com/projects/rspack/deploys/68c24bf4eacb1b0008810187
😎 Deploy Preview https://deploy-preview-11640--rspack.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 github-actions bot added the release: document release: document related release(mr only) label Sep 11, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the documentation for BrowserHttpImportEsmPlugin in the @rspack/browser API, improving the type definitions and adding comprehensive guidance on using Module Federation in browser environments.

  • Updates BrowserHttpImportEsmPlugin interface with improved type signatures and new postprocess option
  • Adds detailed section on using Module Federation with browser-based bundling
  • Provides configuration examples for CDN integration and shared dependencies

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
website/docs/zh/api/javascript-api/browser.mdx Updates plugin interface types and adds Module Federation usage section in Chinese
website/docs/en/api/javascript-api/browser.mdx Updates plugin interface types and adds Module Federation usage section in English

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Member

@chenjiahan chenjiahan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@chenjiahan chenjiahan merged commit 195ce01 into web-infra-dev:main Sep 11, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: document release: document related release(mr only)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants