diff --git a/wrangler.toml b/wrangler.toml index ff15b14..943db84 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -1,7 +1,6 @@ name = "{{project-name}}" -type = "javascript" -workers_dev = true -compatibility_date = "2022-01-20" +compatibility_date = "2022-05-15" +main = "build/worker/shim.mjs" [vars] WORKERS_RS_VERSION = "0.0.9" @@ -9,14 +8,5 @@ WORKERS_RS_VERSION = "0.0.9" [build] command = "cargo install -q worker-build && worker-build --release" # required -[build.upload] -dir = "build/worker" -format = "modules" -main = "./shim.mjs" - -[[build.upload.rules]] -globs = ["**/*.wasm"] -type = "CompiledWasm" - # read more about configuring your Worker via wrangler.toml at: # https://developers.cloudflare.com/workers/cli-wrangler/configuration