API โบ @builder.io/qwik-city/vite/vercel
vercelEdgeAdapter
export declare function vercelEdgeAdapter(opts?: VercelEdgeAdapterOptions): any;
Parameter | Type | Description |
---|---|---|
opts | VercelEdgeAdapterOptions | (Optional) |
Returns:
any
VercelEdgeAdapterOptions
export interface VercelEdgeAdapterOptions extends ServerAdapterOptions
Extends: ServerAdapterOptions
Property | Modifiers | Type | Description |
---|---|---|---|
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. |