MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / toSourceString

Function toSourceString

apps/ui/vite.config.ts:27–28  ·  view source on GitHub ↗
(source: string | Uint8Array)

Source from the content-addressed store, hash-verified

25};
26
27const toSourceString = (source: string | Uint8Array): string =>
28 typeof source === "string" ? source : Buffer.from(source).toString("utf8");
29
30const bundleStatsPlugin = (): PluginOption => ({
31 name: "boringstack-bundle-stats",

Callers 1

generateBundleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected