Skip to content

Commit c052d68

Browse files
dario-piotrowiczToriLindsay
authored andcommitted
In the config doc mention that there are toml<->json online converters (#20042)
--------- Co-authored-by: ToriLindsay <[email protected]>
1 parent f326763 commit c052d68

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/content/docs/workers/wrangler/configuration.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,15 @@ Wrangler optionally uses a configuration file to customize the development and d
1616

1717
:::note
1818

19-
As of Wrangler v3.91.0 Wrangler supports both JSON (`wrangler.json` or `wrangler.jsonc`) and TOML (`wrangler.toml`) for its configuration file. Prior to that version, only `wrangler.toml` was supported. The format of Wrangler's configuration file is exactly the same across both languages, except that the syntax is `JSON` rather than `TOML`. Throughout this page and the rest of Cloudflare's documentation config snippets are provided as both JSON and TOML.
19+
As of Wrangler v3.91.0 Wrangler supports both JSON (`wrangler.json` or `wrangler.jsonc`) and TOML (`wrangler.toml`) for its configuration file.
20+
21+
Prior to that version, only `wrangler.toml` was supported.
22+
23+
The format of Wrangler's configuration file is exactly the same across both languages, only the syntax differs.
24+
25+
You can use one of the many available online converters to easily switch between the two.
26+
27+
Throughout this page and the rest of Cloudflare's documentation, configuration snippets are provided as both JSON and TOML.
2028

2129
:::
2230

0 commit comments

Comments
 (0)