module-federation / core

Module Federation is a concept that allows developers to share code and resources across multiple JavaScript applications
https://module-federation.io/
MIT License
1.55k stars 242 forks source link

fix(enhanced): remove resolve replacements #3236

Closed ScriptedAlchemy closed 1 week ago

ScriptedAlchemy commented 1 week ago

Description

This pull request removes the resolution of the runtime path with the .esm.mjs extension when the federation runtime is set to "hoisted" mode. This simplifies the runtime path handling and ensures that the correct runtime path is used in the application, improving the overall reliability and maintainability of the codebase.

Related Issue

https://github.com/module-federation/core/issues/3210

Types of changes

Checklist

changeset-bot[bot] commented 1 week ago

🦋 Changeset detected

Latest commit: f21aca1b4a7acd136ca6d37c61fecdda31572e10

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

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

netlify[bot] commented 1 week ago

Deploy Preview for module-federation-docs ready!

Name Link
Latest commit f21aca1b4a7acd136ca6d37c61fecdda31572e10
Latest deploy log https://app.netlify.com/sites/module-federation-docs/deploys/673a3a375bf1c10008cabc9f
Deploy Preview https://deploy-preview-3236--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.