API › @builder.io/qwik-city/vite/vercel

vercelEdgeAdapter

export declare function vercelEdgeAdapter(opts?: VercelEdgeAdapterOptions): any;
ParameterTypeDescription
optsVercelEdgeAdapterOptions(Optional)

Returns:

any

Edit this section

VercelEdgeAdapterOptions

export interface VercelEdgeAdapterOptions extends ServerAdapterOptions

Extends: ServerAdapterOptions

PropertyModifiersTypeDescription
outputConfig?boolean(Optional) Determines if the build should auto-generate the .vercel/output/config.json config.Defaults to true.
staticPaths?string[](Optional) Manually add pathnames that should be treated as static paths and not SSR. For example, when these pathnames are requested, their response should come from a static file, rather than a server-side rendered response.
vcConfigEntryPoint?string(Optional) The entrypoint property in the .vc-config.json file. Indicates the initial file where code will be executed for the Edge Function.Defaults to entry.vercel-edge.js.
vcConfigEnvVarsInUse?string[](Optional) The envVarsInUse property in the .vc-config.json file. List of environment variable names that will be available for the Edge Function to utilize.Defaults to undefined.

Edit this section