diff options
Diffstat (limited to '.changeset/wise-cameras-agree.md')
-rw-r--r-- | .changeset/wise-cameras-agree.md | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/.changeset/wise-cameras-agree.md b/.changeset/wise-cameras-agree.md deleted file mode 100644 index c5aa7fbc1..000000000 --- a/.changeset/wise-cameras-agree.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@astrojs/cloudflare': major ---- - -The configuration `build.split` and `build.excludeMiddleware` are deprecated. - -You can now configure this behavior using `functionPerRoute` in your Cloudflare integration config: - -```diff -import {defineConfig} from "astro/config"; -import cloudflare from '@astrojs/cloudflare'; - -export default defineConfig({ -- build: { -- split: true -- }, -- adapter: cloudflare() -+ adapter: cloudflare({ -+ mode: 'directory', -+ functionPerRoute: true -+ }) -}) -``` |