Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

ModuleFederationPlugin can not directly get shared module default export in .mjs file #17874

Closed
lzxb opened this issue Dec 19, 2023 · 0 comments

Comments

@lzxb
Copy link

lzxb commented Dec 19, 2023

Bug report

What is the current behavior?
Failed to obtain the correct default export
If the current behavior is a bug, please provide the steps to reproduce.

image image

After the build was completed, the default value was lost

image

image

What is the expected behavior?
Get exported objects

Other relevant information:
webpack version: 5.88.2
Node.js version:v18.16.1
Operating System: mac os
Additional tools:

@webpack webpack locked and limited conversation to collaborators Dec 28, 2023
@alexander-akait alexander-akait converted this issue into discussion #17906 Dec 28, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant