0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-02-03 22:29:08 -05:00
astro/packages/integrations/vercel/test/fixtures/server-islands/astro.config.mjs
Matthew Phillips fe3afebd65
Fix Server Islands in Vercel (#11491)
* Fix Server Islands in Vercel

* Add a changeset

* Get server islands pattern from the segments

* Move getPattern so it can be used at runtime

* Fix build
2024-07-18 16:03:39 +01:00

10 lines
211 B
JavaScript

import vercel from '@astrojs/vercel/serverless';
import { defineConfig } from 'astro/config';
export default defineConfig({
output: "server",
adapter: vercel(),
experimental: {
serverIslands: true,
}
});