Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions src/content/docs/en/guides/integrations-guide/cloudflare.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,22 @@ export default defineConfig({

Astro 6 brings significant improvements to the Cloudflare development experience and requires `@astrojs/cloudflare` v13 or later. Now, `astro dev` uses Cloudflare's Vite plugin and `workerd` runtime to closely mirror production behavior.

:::note[Conflicting Vite versions]
Astro is not yet compatible with Vite 8. If you encounter issues in your project not addressed in the following sections during the upgrade, it may be due to different dependencies that pull both Vite 7 and Vite 8.

You can work around this issue by defining an `overrides` field in your `package.json` file:

```json
{
"name": "my-astro-app",
...
"overrides": {
"vite": "^7.3.1" // Pins Vite to a version supported by Astro
}
}
```
:::

<ReadMore>See [the Astro 6 upgrade guide](/en/guides/upgrade-to/v6/) for full instructions on upgrading Astro itself.</ReadMore>

### Development server now uses workerd
Expand Down
Loading