Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitejs/vite
/ dep2.js
File
dep2.js
playground/hmr/prune/dep2.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
if
(
import
.meta.hot) {
2
import
.meta.hot.dispose(() => {
3
document.querySelector(
'.prune'
).textContent +=
'|dep2-disposed'
4
})
Callers
nothing calls this directly
Calls
2
dispose
Method · 0.65
prune
Method · 0.65
Tested by
no test coverage detected