Skip to content

Commit e2fe565

Browse files
committed
Add file names to .env file examples
1 parent 36aec7f commit e2fe565

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,11 @@ vars = { MY_VAR = "Production var" }
8787

8888
Next, provide `.env.staging` and `.env.production` files:
8989

90-
```sh
91-
# .env.staging
92-
90+
```sh title=".env.staging"
9391
CLOUDFLARE_ENV=staging
9492
```
9593

96-
```sh
97-
# .env.production
98-
94+
```sh title=".env.production"
9995
CLOUDFLARE_ENV=production
10096
```
10197

0 commit comments

Comments
 (0)