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(sdk): wrong exportedInterface interface in createScriptNode #2082

Merged

Conversation

mababain
Copy link
Contributor

@mababain mababain commented Feb 7, 2024

Description

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. (No doc to update)

@mababain mababain marked this pull request as draft February 7, 2024 10:04
@mababain mababain marked this pull request as ready for review February 7, 2024 11:15
@mababain
Copy link
Contributor Author

mababain commented Feb 7, 2024

Hi! remoteEntry.js exports module with interface {get, init}, not {remoteName: {get, init}}, so we need exportedInterface here

@mababain
Copy link
Contributor Author

mababain commented Feb 8, 2024

@ScriptedAlchemy Hi, can you please help me, do I need to do something else to get this commit merged?

@ScriptedAlchemy
Copy link
Member

@mababain please run changeset add

@mababain mababain force-pushed the fix/sdk-createScriptNode-bug branch from a73115c to c428437 Compare February 14, 2024 04:53
@mababain mababain changed the title fix(sdk): wrong exportedInterface interface fix(sdk): wrong exportedInterface interface in createScriptNode Feb 14, 2024
@ScriptedAlchemy
Copy link
Member

Good catch, thank you. I believe this happens when node is not commonjs-module output type.

@ScriptedAlchemy ScriptedAlchemy merged commit cd8c7bf into module-federation:main Feb 17, 2024
4 checks passed
@zhoushaw zhoushaw mentioned this pull request Mar 6, 2024
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