getter is not a function
#3641
Unanswered
shannonhochkins
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@shannonhochkins Hi, we've been running into the same problem. Have you found a solution? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In my remote, I don't want shared dependencies bundled in the output, adding
import: false
to a shared dependency does do this already:The host side uses the
@module-federation/enhanced/runtime
package to load the remotes in asynchronously, this is long after the mainreact
shared:In the host application:
The host federation config has
singleton: true, eager: true
set for the same dependencies.When trying to run the application I get
TypeError: getter is not a function
from the remote entry file, specifically with this block of code:import
doesn't appear to be a documented feature in the shared sectionAny help here would be great!
Beta Was this translation helpful? Give feedback.
All reactions