Question about Shared Dependencies #1079
Unanswered
vinimarcili
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a shared-dependencies repository that updates the importmap as the doc says. I'm also using "externals" from webpack.
First doubt: Should I use ONLY one of the two?
Second doubt: When I run some pagespeed tool (like Google LightHouse) I get some warnings that I'm repeating libraries in the microfronts (those that I configured both in shared-dependencies and in externals). I actually installed them in each of the modules, because I'm using Typescript and without that I was getting type errors. Does this mean I did something wrong in sharing dependencies? Shouldn't I have installed them on each of the MF`s? And how would you deal with types?
Beta Was this translation helpful? Give feedback.
All reactions