0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/.changeset/dirty-lies-cover.md
2023-08-08 11:02:00 +01:00

808 B

@astrojs/cloudflare @astrojs/netlify @astrojs/vercel @astrojs/deno @astrojs/node astro
minor minor minor minor minor minor

Introduced the concept of feature map. A feature map is a list of features that are built-in in Astro, and an Adapter can tell Astro if it can support it.

import {AstroIntegration} from "./astro";

function myIntegration(): AstroIntegration {
    return {
        name: 'astro-awesome-list',
        // new feature map
        supportedAstroFeatures: {
            hybridOutput: 'experimental',
            staticOutput: 'stable',
            serverOutput: 'stable',
            assets: {
                supportKind: 'stable',
                isSharpCompatible: false,
                isSquooshCompatible: false,
            },
        }
    }
}