worker-build2

Crates.ioworker-build2
lib.rsworker-build2
version0.0.10
sourcesrc
created_at2022-12-31 23:49:23.024756
updated_at2023-01-07 21:44:48.7651
descriptionThis is a tool to be used as a custom build command for a Cloudflare Workers `workers-rs` project.
homepage
repositoryhttps://github.com/cloudflare/workers-rs/tree/main/worker-build
max_upload_size
id748614
size47,110
Sam Denty (samdenty)

documentation

README

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"
Commit count: 716

cargo fmt