-
-
Notifications
You must be signed in to change notification settings - Fork 267
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
Hoisted runtime feature doesn't work #3341
Comments
Sounds like you are using a ESM output, set library.type = 'import' not module if you set it to import, it will use import(), and thus not have this issue as import from |
also if its modernjs, dont add hoisted runtime - we probably handle it under the hood. |
Nope, we have a webpack config with mf-plugin that does not specify any library.type |
can you share a repo or your build configs |
Hoisted runtime does not allow recycling the runtime across host remote, it hoists the modules into each runtime - and out of the entrypoints. |
Describe the bug
Seems like
experiments: { federationRuntime: 'hoisted' }
does not work as expected - embedded runtime is ignoring by webpackexperiments: { federationRuntime: 'hoisted' }
to remoteFederation runtime accessed before instantiation or installation
)There is nothing to find
Expected behaviour:
hoisted
option, so use already created runtimeReproduction
see above
Used Package Manager
pnpm
System Info
seems like it doesn't matter
Validations
The text was updated successfully, but these errors were encountered: