Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: change the data URI type in ModuleFederationPlugin #6567

Merged
merged 1 commit into from
May 17, 2024

Conversation

chenjiahan
Copy link
Member

Summary

Change the data URI type in ModuleFederationPlugin, from data:application/node to data:text/javascript.

Because data:text/javascript is commonly used and can be matched by the builtin JS transform rules of Rsbuild.

See web-infra-dev/rsbuild#2360 for background.

Checklist

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

@github-actions github-actions bot added the release: bug fix release: bug related release(mr only) label May 17, 2024
Copy link

netlify bot commented May 17, 2024

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit db9fa2d
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/6646d0dc2707d10008f5a9e1

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label May 17, 2024
@chenjiahan chenjiahan changed the title fix(MF): change the data URI type fix: change the data URI type in ModuleFederationPlugin May 17, 2024
@chenjiahan chenjiahan requested a review from ahabhgk May 17, 2024 03:52
@chenjiahan chenjiahan merged commit 3b67e0d into main May 17, 2024
35 of 36 checks passed
@chenjiahan chenjiahan deleted the mf_data_uri_type_0517 branch May 17, 2024 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release: bug fix release: bug related release(mr only) team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants