vueuse / vue-demi

🎩 Creates Universal Library for Vue 2 & 3
MIT License
2.99k stars 158 forks source link

bug when webpack5 modulefederation shared "vue" module #130

Open zerothree3782 opened 2 years ago

zerothree3782 commented 2 years ago

Hi there. I use webpack5 module federation. The compiled code didn't recognize the "vue" type correctly in "vue-demi" When I shared the "vue" module image

Can you change the code like the picture below? image

thank you!

dcress commented 2 years ago

@antfu any help you can provide here would be amazing. 🙏

2heal1 commented 11 months ago

seems the same issue : https://github.com/webpack/webpack/issues/16060