MCPcopy Create free account
hub / github.com/ZingerLittleBee/ServerBee / entryAssetPath

Function entryAssetPath

apps/web/src/widgets-runtime/loader.ts:19–22  ·  view source on GitHub ↗
(entryPath: string)

Source from the content-addressed store, hash-verified

17}
18
19function entryAssetPath(entryPath: string): string {
20 const parts = entryPath.split('/').filter(Boolean)
21 return parts.at(-1) ?? entryPath
22}
23
24export async function bootstrapLoader(opts: BootstrapOptions = {}): Promise<void> {
25 const base = opts.baseUrl ?? '/api/widget-modules'

Callers 1

bootstrapLoaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected