Skip to content

Latest commit

 

History

History
32 lines (29 loc) · 808 Bytes

dirty-lies-cover.md

File metadata and controls

32 lines (29 loc) · 808 Bytes
@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,
            },
        }
    }
}