Using bundleWorker()

Noticed that within the wrangler codebase, there is a method bundleWorkers. However, this does not seem exposed as something that we can call from another JS program. (https://github.com/cloudflare/workers-sdk/blob/e16d0272986f3e0c8a5ba908127dc93cf8c670bc/packages/wrangler/src/deployment-bundle/bundle.ts#L116)
GitHub
workers-sdk/packages/wrangler/src/deployment-bundle/bundle.ts at e1...
⛅️ Home to Wrangler, the CLI for Cloudflare Workers® - cloudflare/workers-sdk
1 Reply
ItHurtsWhenIPvp
ItHurtsWhenIPvpOP2y ago
Is this something that can be exposed? Or not really due to other reasons? I'd hate to have to copy paste that part into our codebase. Or perhaps I am missing something?

Did you find this page helpful?