vuejs / vue-loader

📦 Webpack loader for Vue.js components
MIT License
4.99k stars 914 forks source link

Webpack ModuleFederation hot reload vue component collision #1993

Open jssuttles opened 2 years ago

jssuttles commented 2 years ago

Version

17.0.0

Reproduction link

github.com

Steps to reproduce

Use Webpack ModuleFederationPlugin and hot reloading to load components with similar paths and names from remote applications into a layout application.

Read the readme in the github repo to run the code.

What is expected?

When hot reloading, 2 different components in 2 different remotes should display differently

What is actually happening?

When hot reloading, the second component is loaded twice.