From a9a82b3ec56ec214e985da411182ab95ca28a189 Mon Sep 17 00:00:00 2001 From: chaffinated Date: Mon, 15 May 2023 11:09:59 -0700 Subject: [PATCH] bugfix(update changelog) --- .changeset/purple-crabs-marry.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/purple-crabs-marry.md b/.changeset/purple-crabs-marry.md index 3acc67d77d20..c94bfba2f75a 100644 --- a/.changeset/purple-crabs-marry.md +++ b/.changeset/purple-crabs-marry.md @@ -2,4 +2,4 @@ '@astrojs/cloudflare': minor --- -Change esbuild.platform to 'neutral' to correctly resolve conditional package exports +Continue using esbuild.platform 'browser' to match CloudFlare's standard build settings, but use resolve rewrites to point to the appropriate Lit.js package export for SSR support. Also, to allow workarounds for 3rd party integrations, add a `rewrites` option to the CloudFlare adapter.