diff --git a/_examples/basic-auth-proxy/Makefile b/_examples/basic-auth-proxy/Makefile index 0aed8ba..019492c 100644 --- a/_examples/basic-auth-proxy/Makefile +++ b/_examples/basic-auth-proxy/Makefile @@ -5,7 +5,7 @@ dev: .PHONY: build build: go run ../../cmd/workers-assets-gen - tinygo build -o ./build/app.wasm -target wasm ./... + tinygo build -o ./build/app.wasm -target wasm -no-debug ./... .PHONY: deploy deploy: diff --git a/_examples/cache/Makefile b/_examples/cache/Makefile index 34eb4b8..a73fac2 100644 --- a/_examples/cache/Makefile +++ b/_examples/cache/Makefile @@ -5,7 +5,7 @@ dev: .PHONY: build build: go run ../../cmd/workers-assets-gen - #tinygo build -o ./build/app.wasm -target wasm ./... + #tinygo build -o ./build/app.wasm -target wasm -no-debug ./... tinygo build -o ./build/app.wasm -target wasm -no-debug ./... .PHONY: deploy diff --git a/_examples/cron/Makefile b/_examples/cron/Makefile index 0aed8ba..019492c 100644 --- a/_examples/cron/Makefile +++ b/_examples/cron/Makefile @@ -5,7 +5,7 @@ dev: .PHONY: build build: go run ../../cmd/workers-assets-gen - tinygo build -o ./build/app.wasm -target wasm ./... + tinygo build -o ./build/app.wasm -target wasm -no-debug ./... .PHONY: deploy deploy: diff --git a/_examples/d1-blog-server/Makefile b/_examples/d1-blog-server/Makefile index d955d9b..40a9d05 100644 --- a/_examples/d1-blog-server/Makefile +++ b/_examples/d1-blog-server/Makefile @@ -5,7 +5,7 @@ dev: .PHONY: build build: go run ../../cmd/workers-assets-gen - tinygo build -o ./build/app.wasm -target wasm ./main.go + tinygo build -o ./build/app.wasm -target wasm -no-debug ./main.go .PHONY: deploy deploy: diff --git a/_examples/durable-object-counter/Makefile b/_examples/durable-object-counter/Makefile index ae09506..ff8d860 100644 --- a/_examples/durable-object-counter/Makefile +++ b/_examples/durable-object-counter/Makefile @@ -5,7 +5,7 @@ dev: .PHONY: build build: mkdir -p build - tinygo build -o ./build/app.wasm -target wasm ./... + tinygo build -o ./build/app.wasm -target wasm -no-debug ./... .PHONY: deploy deploy: diff --git a/_examples/env/Makefile b/_examples/env/Makefile index 0aed8ba..019492c 100644 --- a/_examples/env/Makefile +++ b/_examples/env/Makefile @@ -5,7 +5,7 @@ dev: .PHONY: build build: go run ../../cmd/workers-assets-gen - tinygo build -o ./build/app.wasm -target wasm ./... + tinygo build -o ./build/app.wasm -target wasm -no-debug ./... .PHONY: deploy deploy: diff --git a/_examples/fetch-event/Makefile b/_examples/fetch-event/Makefile index 34eb4b8..019492c 100644 --- a/_examples/fetch-event/Makefile +++ b/_examples/fetch-event/Makefile @@ -5,7 +5,6 @@ dev: .PHONY: build build: go run ../../cmd/workers-assets-gen - #tinygo build -o ./build/app.wasm -target wasm ./... tinygo build -o ./build/app.wasm -target wasm -no-debug ./... .PHONY: deploy diff --git a/_examples/fetch/Makefile b/_examples/fetch/Makefile index 0aed8ba..019492c 100644 --- a/_examples/fetch/Makefile +++ b/_examples/fetch/Makefile @@ -5,7 +5,7 @@ dev: .PHONY: build build: go run ../../cmd/workers-assets-gen - tinygo build -o ./build/app.wasm -target wasm ./... + tinygo build -o ./build/app.wasm -target wasm -no-debug ./... .PHONY: deploy deploy: diff --git a/_examples/hello/Makefile b/_examples/hello/Makefile index 0aed8ba..019492c 100644 --- a/_examples/hello/Makefile +++ b/_examples/hello/Makefile @@ -5,7 +5,7 @@ dev: .PHONY: build build: go run ../../cmd/workers-assets-gen - tinygo build -o ./build/app.wasm -target wasm ./... + tinygo build -o ./build/app.wasm -target wasm -no-debug ./... .PHONY: deploy deploy: diff --git a/_examples/kv-counter/Makefile b/_examples/kv-counter/Makefile index 0aed8ba..019492c 100644 --- a/_examples/kv-counter/Makefile +++ b/_examples/kv-counter/Makefile @@ -5,7 +5,7 @@ dev: .PHONY: build build: go run ../../cmd/workers-assets-gen - tinygo build -o ./build/app.wasm -target wasm ./... + tinygo build -o ./build/app.wasm -target wasm -no-debug ./... .PHONY: deploy deploy: diff --git a/_examples/pages-functions/Makefile b/_examples/pages-functions/Makefile index 23f32a2..93be154 100644 --- a/_examples/pages-functions/Makefile +++ b/_examples/pages-functions/Makefile @@ -5,7 +5,7 @@ dev: .PHONY: build build: go run ../../cmd/workers-assets-gen - tinygo build -o ./build/app.wasm -target wasm ./... + tinygo build -o ./build/app.wasm -target wasm -no-debug ./... .PHONY: deploy deploy: diff --git a/_examples/r2-image-server/Makefile b/_examples/r2-image-server/Makefile index 0aed8ba..019492c 100644 --- a/_examples/r2-image-server/Makefile +++ b/_examples/r2-image-server/Makefile @@ -5,7 +5,7 @@ dev: .PHONY: build build: go run ../../cmd/workers-assets-gen - tinygo build -o ./build/app.wasm -target wasm ./... + tinygo build -o ./build/app.wasm -target wasm -no-debug ./... .PHONY: deploy deploy: diff --git a/_examples/r2-image-viewer/Makefile b/_examples/r2-image-viewer/Makefile index 0aed8ba..019492c 100644 --- a/_examples/r2-image-viewer/Makefile +++ b/_examples/r2-image-viewer/Makefile @@ -5,7 +5,7 @@ dev: .PHONY: build build: go run ../../cmd/workers-assets-gen - tinygo build -o ./build/app.wasm -target wasm ./... + tinygo build -o ./build/app.wasm -target wasm -no-debug ./... .PHONY: deploy deploy: diff --git a/_examples/service-bindings/Makefile b/_examples/service-bindings/Makefile index 34eb4b8..019492c 100644 --- a/_examples/service-bindings/Makefile +++ b/_examples/service-bindings/Makefile @@ -5,7 +5,6 @@ dev: .PHONY: build build: go run ../../cmd/workers-assets-gen - #tinygo build -o ./build/app.wasm -target wasm ./... tinygo build -o ./build/app.wasm -target wasm -no-debug ./... .PHONY: deploy diff --git a/_examples/simple-json-server/Makefile b/_examples/simple-json-server/Makefile index 4830160..8ac4d8a 100644 --- a/_examples/simple-json-server/Makefile +++ b/_examples/simple-json-server/Makefile @@ -5,7 +5,7 @@ dev: .PHONY: build build: go run ../../cmd/workers-assets-gen - tinygo build -o ./build/app.wasm -target wasm ./main.go + tinygo build -o ./build/app.wasm -target wasm -no-debug ./main.go .PHONY: deploy deploy: diff --git a/_templates/cloudflare/pages-tinygo/Makefile b/_templates/cloudflare/pages-tinygo/Makefile index e1edf12..1d89456 100644 --- a/_templates/cloudflare/pages-tinygo/Makefile +++ b/_templates/cloudflare/pages-tinygo/Makefile @@ -5,7 +5,7 @@ dev: .PHONY: build build: go run github.com/syumai/workers/cmd/workers-assets-gen@latest - tinygo build -o ./build/app.wasm -target wasm ./... + tinygo build -o ./build/app.wasm -target wasm -no-debug ./... .PHONY: deploy deploy: diff --git a/_templates/cloudflare/worker-tinygo/Makefile b/_templates/cloudflare/worker-tinygo/Makefile index eabdf5a..a91dc57 100644 --- a/_templates/cloudflare/worker-tinygo/Makefile +++ b/_templates/cloudflare/worker-tinygo/Makefile @@ -5,7 +5,7 @@ dev: .PHONY: build build: go run github.com/syumai/workers/cmd/workers-assets-gen@latest - tinygo build -o ./build/app.wasm -target wasm ./... + tinygo build -o ./build/app.wasm -target wasm -no-debug ./... .PHONY: deploy deploy: