9 releases
0.0.9 | Feb 21, 2023 |
---|---|
0.0.8 | Nov 14, 2022 |
0.0.7 | Aug 31, 2022 |
0.0.6 | Jun 20, 2022 |
0.0.2 | Sep 16, 2021 |
#26 in WebAssembly
3,008 downloads per month
15KB
269 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
~339K SLoC