Rollup failed to resolve import "__federation_fn_satisfy" from "virtual:__federation_fn_import
mannymu opened this issue · comments
Versions
- vite-plugin-federation: 1.3.3
- vite: 4.5.0
Reproduction
This error occurs in the server build of vue SSR
Steps to reproduce
What is Expected?
What is actually happening?
同问
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
The same question
The same question. Any ideas?
In m case the only way is to put in ignore of optimization, other wa is set as external
because this function is virtual and injected b plugin.
I use this because I'm use import {} from "federation"
optimizeDeps: {
exclude: ["__federation__"],
},