Skip to content

Conversation

@ToriLindsay
Copy link
Contributor

Request from @Oxyjun (Thank you!)

The <WranglerConfig> component is a component which automatically creates a json equivalent for the wrangler.toml file. However, the component currently shows the wrangler.toml tab before wrangler.json (i.e. when a user lands on a page, they'll see wrangler.toml unless they explicitly choose to switch to wrangler.json.
It may be better to show wrangler.json first, if we're moving away from using .toml (for example, C3 now creates wrangler.json by default, so for new users, this will be the more natural option going forward.

@ToriLindsay
Copy link
Contributor Author

@KianNH Would you mind reviewing?
I assume this is all I needed to do based on Jun's suggestion (in description)? Thanks!

@cloudflare-workers-and-pages
Copy link

Deploying cloudflare-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 979ee50
Status: ✅  Deploy successful!
Preview URL: https://ee68c351.cloudflare-docs-7ou.pages.dev
Branch Preview URL: https://tori-pcx15588-make-json-firs.cloudflare-docs-7ou.pages.dev

View logs

Copy link
Member

@KianNH KianNH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ToriLindsay ToriLindsay merged commit 94770de into production Feb 4, 2025
11 checks passed
@ToriLindsay ToriLindsay deleted the tori/pcx15588-make-json-first-in-wrangler-component branch February 4, 2025 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants