cloudflare / templates

A collection of starter templates and examples for Cloudflare Workers and Pages
https://cloudflareworkers.com
MIT License
1k stars 638 forks source link

worker-rust build command does not work #130

Closed williamdes closed 1 year ago

williamdes commented 2 years ago

Because ed70362188046632d76fca4aca0a228b7cbba912 changed the README

This is missing in package.json

"build": "wrangler build"
williamdes commented 2 years ago

Also cfg-if = "1.0.0" builds locally without any problem so the bump can be commited

lauragift21 commented 1 year ago

Hello @williamdes! Thanks for creating this issue. The templates have moved to the workers-sdk monorepo, here: https://github.com/cloudflare/workers-sdk/tree/main/templates

Also, I see a wrangler publish script in the package.json, so this can be used to publish the worker.