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

Function buildEnd

packages/vite/src/node/optimizer/rolldownDepPlugin.ts:220–223  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

218 name: 'vite:dep-pre-bundle',
219 // clear package cache when build is finished
220 buildEnd() {
221 esmPackageCache.clear()
222 cjsPackageCache.clear()
223 },
224 resolveId: {
225 filter: { id: /^[\w@][^:]/ },
226 async handler(id, importer, options) {

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected