HaasStefan / tailwind-microfrontends

Using Tailwind CSS in an Angular Microfrontend App using a proxy component
https://ng-journal.com/blog/2022-12-02-tailwind-and-module-federation/
10 stars 0 forks source link

proxy.component.scss exceed maximum budget when build #1

Open manng2 opened 5 months ago

manng2 commented 5 months ago

With this approach, when we build the MFE, the proxy.component.scss file exceeds the maximum budget. Can we increase the limit? If the budget is exceeded, will it affect performance?

image
HaasStefan commented 5 months ago

Sure, you can increase it in the project.json file under budget. But yeah, it is definitely a small performance hit since you need to load a big css again with duplication...

Microfrontends are not easy.