-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Closed
Labels
has workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemscope: hmr🔩 p2-edge-case
Description
Vue version
3.5.13
Link to minimal reproduction
https://github.com/xinnian999/arto-ui
Steps to reproduce
pnpm i
pnpm build 用vite+vue构建web-components组件库(这一步并没有外部化vue)
pnpm dev 运行一个vue项目并引入了上一步构建的dist
这时候修改play/vue下的代码,热更新会失效
What is expected?
期望即使我将vue构建到了组件库dist里,别人引入我的组件库也不会破坏vue的热更新
What is actually happening?
System Info
System:
OS: Windows 10 10.0.19044
CPU: (16) x64 Intel(R) Xeon(R) Gold 6234 CPU @ 3.30GHz
Memory: 13.60 GB / 31.65 GB
Binaries:
Node: 20.18.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.22 - ~\AppData\Roaming\npm\yarn.CMD
npm: 10.8.2 - C:\Program Files\nodejs\npm.CMD
pnpm: 9.12.1 - ~\AppData\Roaming\npm\pnpm.CMD
Browsers:
Edge: Spartan (44.19041.1266.0), Chromium (129.0.2792.89)
Internet Explorer: 11.0.19041.1566
npmPackages:
vue: ^3.5.13 => 3.5.13
Any additional comments?
No response
Metadata
Metadata
Assignees
Labels
has workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemscope: hmr🔩 p2-edge-case