packages/docs/src/routes/api/qwik-city-vite-vercel/index.mdx
export declare function vercelEdgeAdapter(opts?: VercelEdgeAdapterOptions): any;
Parameter
</th><th>Type
</th><th>Description
</th></tr></thead> <tbody><tr><td>opts
</td><td> </td><td>(Optional)
</td></tr> </tbody></table>Returns:
any
<h2 id="verceledgeadapteroptions">VercelEdgeAdapterOptions</h2>export interface VercelEdgeAdapterOptions extends ServerAdapterOptions
Extends: ServerAdapterOptions
<table><thead><tr><th>Property
</th><th>Modifiers
</th><th>Type
</th><th>Description
</th></tr></thead> <tbody><tr><td> </td><td> </td><td>boolean
</td><td>(Optional) Determines if the build should auto-generate the .vercel/output/config.json config.
Defaults to true.
string[]
</td><td>(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.
</td></tr> <tr><td> </td><td> </td><td>'webworker' | 'node'
</td><td>(Optional) Define the target property in the ssr object in the vite.config.ts file.
Defaults to webworker.
string
</td><td>(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.
string[]
</td><td>(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.