Skip to content

perf: switch to ESM by default #3688

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

Merged
merged 13 commits into from
Apr 15, 2025
Merged

perf: switch to ESM by default #3688

merged 13 commits into from
Apr 15, 2025

Conversation

ScriptedAlchemy
Copy link
Member

@ScriptedAlchemy ScriptedAlchemy commented Apr 10, 2025

Description

Before

remoteEntry.js size: 75K
gzip size: 22744 bytes 
brotli size: 20079 bytes 

After

remoteEntry.js size: 70K
gzip size: 21733 bytes
brotli size: 19230 bytes

Related Issue

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the documentation.

Copy link

changeset-bot bot commented Apr 10, 2025

🦋 Changeset detected

Latest commit: 4e25717

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

This PR includes changesets to release 32 packages
Name Type
@module-federation/inject-external-runtime-core-plugin Major
@module-federation/webpack-bundler-runtime Major
@module-federation/data-prefetch Major
@module-federation/runtime-tools Major
@module-federation/runtime-core Major
@module-federation/enhanced Major
bundle-size Minor
@module-federation/runtime Major
@module-federation/node Minor
@module-federation/sdk Major
@module-federation/esbuild Patch
@module-federation/rspack Major
@module-federation/nextjs-mf Patch
@module-federation/modern-js Major
@module-federation/rsbuild-plugin Major
@module-federation/storybook-addon Major
@module-federation/modernjsapp Patch
@module-federation/devtools Major
@module-federation/dts-plugin Major
@module-federation/retry-plugin Major
@module-federation/bridge-react Major
@module-federation/bridge-vue3 Major
@module-federation/cli Major
@module-federation/managers Major
@module-federation/manifest Major
@module-federation/utilities Patch
@module-federation/bridge-react-webpack-plugin Major
@module-federation/third-party-dts-extractor Major
@module-federation/bridge-shared Major
@module-federation/error-codes Major
create-module-federation Major
website-new 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

Copy link

netlify bot commented Apr 10, 2025

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit 4e25717
🔍 Latest deploy log https://app.netlify.com/sites/module-federation-docs/deploys/67fdb9b55e5cce0008d5ec96
😎 Deploy Preview https://deploy-preview-3688--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 site configuration.

@ScriptedAlchemy ScriptedAlchemy marked this pull request as ready for review April 10, 2025 07:26
@ScriptedAlchemy ScriptedAlchemy merged commit c399b9a into main Apr 15, 2025
16 checks passed
@ScriptedAlchemy ScriptedAlchemy deleted the perf/esm branch April 15, 2025 02:32
@2heal1 2heal1 mentioned this pull request Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants