Closed JuNe98 closed 2 weeks ago
I found a temporary solution:
Switching version of Apache Echarts from ^5.5.1
to fixed 5.5.0
fixes the bug. Seems to be a specific Problem with the patch,
Hopefully there will be a newer compatible version soon.
I found a temporary solution:
Switching version of Apache Echarts from
^5.5.1
to fixed5.5.0
fixes the bug. Seems to be a specific Problem with the patch,Hopefully there will be a newer compatible version soon.
Yes, there is a problem with some libraries, solve it by using share and adding the necessary libraries to be shared instead of using shareAll.
The reason is that NF creates a bundle per entrypoint and this very package seems to have several entry points.
You could exclude everything starting with echarts/ by using a RegExp:
skip: [ /^echarts\// ]
Hi
In our team we try to use the native federation for microfrontend architecture. I have tried to set up a Microfront which worked really smooth (THANK YOU for the great work) but when I want to skip a Package from the
shareAll
it doesn't seem to work right.We are using the Apache Echarts library with the ngx-echarts Angular directive.
These are my dependencies in
package.json
:My
federation.config.js
looks like following:And I get the following error when I try to serve the application:
When I remove the
shareAll
everything works right.Can you please provide a solution or config how to fix this issue?
Thanks in advance