Unused CSS #3195
Unanswered
DmitryNakhimovich
asked this question in
Q&A
Unused CSS
#3195
Replies: 1 comment
-
i dont think so, since we do not load css beyond maybe the initial asset - its the bundler who handles side effects, in rspack we could do it but im not sure about vite since it doesnt have a runtime like webpack/rspack have |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, i have host app with vite + mf 2.0 (runtime version) and many remotes apps (20+) which have various versions of stack packages inside. If there some mechanism for managing loaded styles for each of the microfronts?
My goal is to clean the global style area after unloading/unmounting the microfront from host. I know that there are practices for isolating styles like css-in-js or css modules, but I am interested in the ability to manage styles at the federation level.
Beta Was this translation helpful? Give feedback.
All reactions