diff --git a/.changeset/famous-chairs-sin.md b/.changeset/famous-chairs-sin.md new file mode 100644 index 000000000000..ff890b4b82b9 --- /dev/null +++ b/.changeset/famous-chairs-sin.md @@ -0,0 +1,5 @@ +--- +"create-cloudflare": patch +--- + +fix: missing nodejs_compact flag on astro template diff --git a/packages/create-cloudflare/templates/astro/templates/wrangler.toml b/packages/create-cloudflare/templates/astro/templates/wrangler.toml index a03a506b7081..70bd7c7606e2 100644 --- a/packages/create-cloudflare/templates/astro/templates/wrangler.toml +++ b/packages/create-cloudflare/templates/astro/templates/wrangler.toml @@ -1,6 +1,7 @@ #:schema node_modules/wrangler/config-schema.json name = "" compatibility_date = "" +compatibility_flags = ["nodejs_compat"] pages_build_output_dir = "./dist" # Automatically place your workloads in an optimal location to minimize latency.