worker-plus-build

Crates.ioworker-plus-build
lib.rsworker-plus-build
version0.0.9
sourcesrc
created_at2022-12-31 09:04:30.253147
updated_at2023-01-06 12:45:33.443694
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
id748311
size44,598
Abid Omar (omarabid)

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