MCPcopy Index your code
hub / github.com/tinyplex/tinybase / resolveSvelteInternalImport

Function resolveSvelteInternalImport

test/unit/documentation.test.ts:212–218  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

210 ),
211};
212const resolveSvelteInternalImport = (path: string): string | undefined =>
213 path.startsWith('#client/')
214 ? resolve(
215 'node_modules/svelte/src/internal/client',
216 path.slice('#client/'.length) + (extname(path) == '' ? '.js' : ''),
217 )
218 : undefined;
219
220const forEachDeepFile = (
221 dir: string,

Callers 1

setupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…