MCPcopy Create free account
hub / github.com/cloudflare/computer / build-bundle.mjs

File build-bundle.mjs

packages/computer/src/backends/worker-shell/script/build-bundle.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Bundle entrypoint.ts into a record of module-name → source
2// string and write it to generated-bundle.ts as a TypeScript
3// module exporting that record (SHELL_MODULES). Consumers
4// spread SHELL_MODULES into the Worker Loader callback's

Callers

nothing calls this directly

Calls 5

logMethod · 0.65
dirnameFunction · 0.50
mkdirFunction · 0.50
rmFunction · 0.50
writeFileFunction · 0.50

Tested by

no test coverage detected