Skip to content

Commit 03e982a

Browse files
Update .changeset/young-pandas-talk.md
Co-authored-by: Armand Philippot <[email protected]>
1 parent 5111dec commit 03e982a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.changeset/young-pandas-talk.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22
'@astrojs/cloudflare': major
33
---
44

5-
Drops official support for [Cloudflare Pages](https://developers.cloudflare.com/pages/). You can still deploy your Astro project to Cloudflare Pages using a manual approach. To convert your current project use the following steps. Cloudflare Pages to Cloudflare WOrkers migration guide can be found on the [Cloudflare docs](https://developers.cloudflare.com/workers/static-assets/migration-guides/migrate-from-pages/)
5+
Drops official support for Cloudflare Pages in favor of Cloudflare Workers
66

7-
1. Update your Astro config to output to the correct directory structure:
7+
The Astro Cloudflare adapter now only supports deployment to Cloudflare Workers by default in order to comply with Cloudflare's recommendations for new projects. If you are currently deploying to Cloudflare Pages, consider [migrating to Workers by following the Cloudflare guide](https://developers.cloudflare.com/workers/static-assets/migration-guides/migrate-from-pages/) for an optimal experience and full feature support.
8+
9+
You can still opt in to deploy to [Cloudflare Pages](https://developers.cloudflare.com/pages/) by manually updating your project:
10+
11+
1. Configure your build output directories and image service in `astro.config.mjs`:
812

913
```diff
1014
export default defineConfig({

0 commit comments

Comments
 (0)