2 releases
0.0.9 | Jan 6, 2023 |
---|---|
0.0.8 | Dec 31, 2022 |
#25 in #cloudflare-workers
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
~5–15MB
~197K SLoC