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