From 8ad5be9452b018ce2ab7ca33f6aded4df4e15786 Mon Sep 17 00:00:00 2001 From: Dario Piotrowicz Date: Tue, 17 Dec 2024 09:51:34 +0000 Subject: [PATCH] update the astro experimental template not to unnecessarily specify `v2` for `nodejs_compat` (#7565) --- .changeset/stale-bananas-sort.md | 5 +++++ .../templates-experimental/astro/templates/ts/wrangler.toml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/stale-bananas-sort.md diff --git a/.changeset/stale-bananas-sort.md b/.changeset/stale-bananas-sort.md new file mode 100644 index 000000000000..708f183d7d7f --- /dev/null +++ b/.changeset/stale-bananas-sort.md @@ -0,0 +1,5 @@ +--- +"create-cloudflare": patch +--- + +update the astro experimental template not to unnecessarily specify `v2` for `nodejs_compat` diff --git a/packages/create-cloudflare/templates-experimental/astro/templates/ts/wrangler.toml b/packages/create-cloudflare/templates-experimental/astro/templates/ts/wrangler.toml index bbe26d831746..e269a6ae1a55 100644 --- a/packages/create-cloudflare/templates-experimental/astro/templates/ts/wrangler.toml +++ b/packages/create-cloudflare/templates-experimental/astro/templates/ts/wrangler.toml @@ -1,7 +1,7 @@ #:schema node_modules/wrangler/config-schema.json name = "" compatibility_date = "" -compatibility_flags = ["nodejs_compat_v2"] +compatibility_flags = ["nodejs_compat"] main = "./dist/_worker.js/index.js" assets = { directory = "./dist", binding = "ASSETS" }