astro/packages/integrations/vercel/src/lib/prerender.ts
Nate Moore 39403c32fa
Unflag hybrid output (#7260)
* feat(hybrid): unflag hybrid output

* chore: cleanup rebase errors
2023-06-05 13:19:15 -05:00

5 lines
169 B
TypeScript

import type { AstroConfig } from 'astro';
export function isServerLikeOutput(config: AstroConfig) {
return config.output === 'server' || config.output === 'hybrid';
}