#cloudflare #worker #serverless #webassembly #workers #build #plus

app worker-plus-build

This is a tool to be used as a custom build command for a Cloudflare Workers workers-rs project

2 releases

0.0.9 Jan 6, 2023
0.0.8 Dec 31, 2022

#295 in WebAssembly

Apache-2.0

15KB
261 lines

worker-build

This is a tool to be used as a custom build command for a Cloudflare Workers project.

# wrangler.toml
# ...

[build]
command = "cargo install -q worker-build && worker-build --release"

[build.upload]
dir    = "build/worker"
format = "modules"
main   = "./shim.mjs"

[[build.upload.rules]]
globs = ["**/*.wasm"]
type  = "CompiledWasm"

Dependencies

~8–14MB
~340K SLoC