Skip to content

Commit dc3d7d3

Browse files
committed
Update compatibility dates
1 parent f89ae11 commit dc3d7d3

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/content/docs/workers/vite-plugin/cloudflare-environments.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Consider the following example Worker config file:
1717

1818
```toml
1919
name = "my-worker"
20-
compatibility_date = "2024-12-30"
20+
compatibility_date = "2025-04-03"
2121
main = "./src/index.ts"
2222

2323
vars = { MY_VAR = "Top-level var" }
@@ -36,7 +36,7 @@ If you run `CLOUDFLARE_ENV=production vite build` then the output `wrangler.json
3636
```json
3737
{
3838
"name": "my-worker",
39-
"compatibility_date": "2024-12-30",
39+
"compatibility_date": "2025-04-03",
4040
"main": "index.js",
4141
"vars": { "MY_VAR": "Production var" }
4242
}
@@ -72,7 +72,7 @@ Consider again the previous example:
7272
# wrangler.toml
7373

7474
name = "my-worker"
75-
compatibility_date = "2024-12-30"
75+
compatibility_date = "2025-04-03"
7676
main = "./src/index.ts"
7777

7878
vars = { MY_VAR = "Top-level var" }

src/content/docs/workers/vite-plugin/get-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Refer to the [API reference](/workers/vite-plugin/api/) for configuration option
6262

6363
```toml
6464
name = "cloudflare-vite-quick-start"
65-
compatibility_date = "2024-12-30"
65+
compatibility_date = "2025-04-03"
6666
main = "./src/index.ts"
6767
```
6868

src/content/docs/workers/vite-plugin/tutorial.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default defineConfig({
6161

6262
```toml
6363
name = "cloudflare-vite-tutorial"
64-
compatibility_date = "2024-12-30"
64+
compatibility_date = "2025-04-03"
6565
assets = { not_found_handling = "single-page-application" }
6666
```
6767

@@ -138,7 +138,7 @@ This tutorial, however, will show you how to go a step further and add an API Wo
138138

139139
```toml
140140
name = "cloudflare-vite-tutorial"
141-
compatibility_date = "2024-12-30"
141+
compatibility_date = "2025-04-03"
142142
assets = { not_found_handling = "single-page-application" }
143143
main = "./worker/index.ts"
144144
```

src/content/docs/workers/vite-plugin/vite-environments.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ We use the Vite config to set global constant replacements for this environment:
3535

3636
```toml
3737
name = "my-worker"
38-
compatibility_date = "2024-12-30"
38+
compatibility_date = "2025-04-03"
3939
main = "./src/index.ts"
4040
```
4141

0 commit comments

Comments
 (0)