From 7b77b34cef8b46c4d14ecf9e5fcb45fb276331ec Mon Sep 17 00:00:00 2001 From: Alexander Niebuhr Date: Mon, 14 Aug 2023 21:23:36 +0200 Subject: [PATCH] fix(@astrojs/cloudflare): unsynced astro asset support flag (#8079) * fix astro assets support in cloudflare * add changeset --- .changeset/strong-papayas-chew.md | 5 +++++ packages/integrations/cloudflare/src/index.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/strong-papayas-chew.md diff --git a/.changeset/strong-papayas-chew.md b/.changeset/strong-papayas-chew.md new file mode 100644 index 000000000..f9d7bf4c2 --- /dev/null +++ b/.changeset/strong-papayas-chew.md @@ -0,0 +1,5 @@ +--- +'@astrojs/cloudflare': patch +--- + +Sync Astro Asset support across both modes diff --git a/packages/integrations/cloudflare/src/index.ts b/packages/integrations/cloudflare/src/index.ts index 46d87a3eb..c378a195f 100644 --- a/packages/integrations/cloudflare/src/index.ts +++ b/packages/integrations/cloudflare/src/index.ts @@ -29,7 +29,7 @@ export function getAdapter(isModeDirectory: boolean): AstroAdapter { staticOutput: 'unsupported', serverOutput: 'stable', assets: { - supportKind: 'unsupported', + supportKind: 'stable', isSharpCompatible: false, isSquooshCompatible: false, },