You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice the third line export { default } from '@module-federation/runtime-core';. There is no default export in this package. This leads to the error above. I can fix this by manually patching the file to remove the extra export { default } line. Interestingly looking at the source, I think rollup is messing up the output.
To reproduce, run the stackblitz link, run npm start and watch the error overlay.
Describe the bug
When I try to use
@module-federation/inject-external-runtime-core-plugin
, I get the following errorThe reason for this error is that the "published" file
@module-federation/runtime/dist/core.esm.mjs
contains the followingNotice the third line
export { default } from '@module-federation/runtime-core';
. There is no default export in this package. This leads to the error above. I can fix this by manually patching the file to remove the extraexport { default }
line. Interestingly looking at the source, I think rollup is messing up the output.To reproduce, run the stackblitz link, run
npm start
and watch the error overlay.Reproduction
https://stackblitz.com/edit/github-2vfygo-pkyh5azi?file=app1%2Fwebpack.config.js
Used Package Manager
npm
System Info
Validations
The text was updated successfully, but these errors were encountered: