MCPcopy
hub / github.com/vitejs/vite / hmr-asset.js

File hmr-asset.js

playground/hmr-full-bundle-mode/hmr-asset.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// self-accepting module with no asset import; the spec adds one via an HMR edit
2const slot = document.querySelector('.hmr-asset')
3const img = document.createElement('img')
4img.id = 'hmr-asset-image'

Callers

nothing calls this directly

Calls 1

acceptMethod · 0.65

Tested by

no test coverage detected