Skip to content

Commit 5a712e7

Browse files
authored
fix(create-cloudflare): enable nodejs_compact on astro template (#7171)
1 parent 251e49a commit 5a712e7

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/famous-chairs-sin.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"create-cloudflare": patch
3+
---
4+
5+
fix: missing nodejs_compact flag on astro template

packages/create-cloudflare/templates/astro/templates/wrangler.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#:schema node_modules/wrangler/config-schema.json
22
name = "<TBD>"
33
compatibility_date = "<TBD>"
4+
compatibility_flags = ["nodejs_compat"]
45
pages_build_output_dir = "./dist"
56

67
# Automatically place your workloads in an optimal location to minimize latency.

0 commit comments

Comments
 (0)