Skip to content

Commit 99c7bdb

Browse files
committed
Use wrangler.toml to set compatibility_date.
vs. doing it in the Cloudflare UI.
1 parent 5f07f16 commit 99c7bdb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"scripts": {
77
"build": "npm run build:editor && eleventy",
88
"build:editor": "rollup -c",
9-
"pages": "wrangler pages dev _site/ --compatibility-date=2025-04-02",
9+
"pages": "wrangler pages dev _site/",
1010
"watch": "eleventy --watch",
11-
"dev": "wrangler pages dev _site --compatibility-date=2025-04-02 --live-reload --port 8788",
11+
"dev": "wrangler pages dev _site --live-reload --port 8788",
1212
"test": "echo \"Error: no test specified\" && exit 1"
1313
},
1414
"devDependencies": {

wrangler.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
name = "json-ld-org"
2+
pages_build_output_dir = "./_site"
3+
compatibility_date = "2025-09-15"

0 commit comments

Comments
 (0)