MCPcopy
hub / github.com/vitejs/vite / fn

Function fn

playground/legacy/async.js:1–5  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1export function fn() {
2 const m = new Map()
3 m.set('foo', 'Hello')
4 document.querySelector('#app').textContent = m.get('foo')
5}

Callers 15

runFunction · 0.70
main.jsFile · 0.70
prunePathsMethod · 0.50
queueUpdateMethod · 0.50
fetchUpdateMethod · 0.50
evalValueFunction · 0.50
previewFunction · 0.50
buildStartFunction · 0.50
resolveIdFunction · 0.50
loadFunction · 0.50

Calls 2

setMethod · 0.45
getMethod · 0.45

Tested by 6

buildStartFunction · 0.40
resolveIdFunction · 0.40
loadFunction · 0.40
transformFunction · 0.40
withBuildFunction · 0.40
withServeFunction · 0.40