You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make explicit the fact that when cloning your template, you can create your own Wrangler file to make your project compatible with Cloudflare as a template.
I am making this edit because I was confused when reading the docs as to how to make take my NodeJS project and turn it into a worker without going through the fresh intall to learn what config files I need.
At a minimum, template folders must contain the following:
78
+
It's likely that you have an existing project that isn't configured as a Cloudflare template. Before your project can qualify as a valid template, the folder must contain the following files at least:
79
79
80
80
-`package.json`
81
-
-`wrangler.toml`
81
+
-`wrangler.toml`[See this](/workers/wrangler/configuration/#sample-wranglertoml-configuration) for an example of a Wrangler configuration file
82
82
-`src/` containing a worker script referenced from `wrangler.toml`
0 commit comments