Skip to content

@astrojs/[email protected]

Pre-release
Pre-release
Compare
Choose a tag to compare
@astrobot-houston astrobot-houston released this 18 Aug 15:49
· 3086 commits to main since this release
e5c1388

Major Changes

  • #8078 2540feedb Thanks @alexanderniebuhr! - The configuration build.split and build.excludeMiddleware are deprecated.

    You can now configure this behavior using functionPerRoute in your Cloudflare integration config:

    import {defineConfig} from "astro/config";
    import cloudflare from '@astrojs/cloudflare';
    
    export default defineConfig({
    -    build: {
    -        split: true
    -    },
    -    adapter: cloudflare()
    +    adapter: cloudflare({
    +        mode: 'directory',
    +        functionPerRoute: true
    +    })
    })

Patch Changes