MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / shouldTransformCachedModule

Function shouldTransformCachedModule

packages/vite/src/importMetaPlugin.ts:130–135  ·  view source on GitHub ↗
({ code })

Source from the content-addressed store, hash-verified

128 },
129
130 shouldTransformCachedModule({ code }) {
131 if (isActive && isBuild && resolvedConfig.build.watch && includesAlphaTabWorker(code)) {
132 return true;
133 }
134 return;
135 },
136
137 async transform(code, id, options) {
138 if (!isActive || options?.ssr || !includesAlphaTabWorker(code)) {

Callers

nothing calls this directly

Calls 1

includesAlphaTabWorkerFunction · 0.85

Tested by

no test coverage detected