Skip to content

fix: update cloudflare's wrangler.json to wrangler.jsonc#204

Merged
tannerlinsley merged 1 commit intoTanStack:mainfrom
dario-piotrowicz:dario/wrangler-jsonc
Oct 20, 2025
Merged

fix: update cloudflare's wrangler.json to wrangler.jsonc#204
tannerlinsley merged 1 commit intoTanStack:mainfrom
dario-piotrowicz:dario/wrangler-jsonc

Conversation

@dario-piotrowicz
Copy link
Contributor

Cloudflare recommends using a jsonc file instead of a json one

This is also relevant here since we want to enable the create-cloudflare CLI (C3) to create tanstack start application (by calling the tanstack cli) and C3 appends comments to wrangler configuration files, meaning that these will show up as erroneous if a json file is used instead of jsonc

@@ -3,8 +3,5 @@
"name": "tanstack-start-app",
"compatibility_date": "2025-09-02",
"compatibility_flags": ["nodejs_compat"],
"main": "@tanstack/react-start/server-entry",
"vars": {
"MY_VAR": "Hello from Cloudflare"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This variable is unused to I figured we can just remove it

@tannerlinsley tannerlinsley merged commit 4a541c0 into TanStack:main Oct 20, 2025
@dario-piotrowicz dario-piotrowicz deleted the dario/wrangler-jsonc branch October 21, 2025 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants