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

Function get

packages/vite/src/node/build.ts:1343–1345  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1341 wrappedHookMap.set(hook, [])
1342 Object.defineProperty(hook, 'filter', {
1343 get() {
1344 return wrappedHookMap.get(hook)![0].filter
1345 },
1346 set(v) {
1347 for (const h of wrappedHookMap.get(hook)!) {
1348 h.filter = v

Callers

nothing calls this directly

Calls 3

warnFutureDeprecationFunction · 0.90
getTopLevelConfigMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected