You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to prevent my remotes from adding the styles tag to my host when I expose them. I activate the flag that exists in the configuration, but I receive the following error:
index.tsx:47 ReferenceError: options is not defined
at settings.js:56:27
at Array.forEach (<anonymous>)
at dynamicLoadingCss (settings.js:27:16)
at ./router (settings.js:5:5)
at Module.get (settings.js:67:27)
at __x00__virtual:__federation__:81:73
The above error occurred in one of your React components.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to prevent my remotes from adding the styles tag to my host when I expose them. I activate the flag that exists in the configuration, but I receive the following error:
This is the plugin configuration
Reviewing the remote entry generated in my dist folder, I understand that the error is here, but I don't know how to fix it.
Since I'm using Tailwind, I'm having issues because several styles that I don't need are being overwritten.
react: 19
vite: 6.1.0
@originjs/vite-plugin-federation: ^1.3.9
Beta Was this translation helpful? Give feedback.
All reactions