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.44k stars 215 forks source link

fix(nextjs-mf): do not crash if host is not next #2604

Closed ScriptedAlchemy closed 3 months ago

ScriptedAlchemy commented 3 months ago

Description

Fix issue where next as remote crashes when consumed by non next host

Related Issue

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

Types of changes

Checklist

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: 301052033d289412aafc51790227f8e0f149d882

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

This PR includes changesets to release 1 package | Name | Type | | ---------------------------- | ----- | | @module-federation/nextjs-mf | 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 3 months ago

Deploy Preview for module-federation-docs ready!

Name Link
Latest commit 301052033d289412aafc51790227f8e0f149d882
Latest deploy log https://app.netlify.com/sites/module-federation-docs/deploys/6669265655d92c0008194a50
Deploy Preview https://deploy-preview-2604--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.