NetlifyAdapterOptions
Options of the netlify adapter.
Options of the netlify adapter.
Import#
ts
import type { NetlifyAdapterOptions } from "@shadow-js/dusk/netlify";
Signature#
ts
interface NetlifyAdapterOptions {
/** Output folder relative to the project. Default `dist/netlify`. */
readonly outDir?: string;
/** `"functions"` (default, Node.js Netlify Function) or `"edge"` (Deno Edge Function). */
readonly target?: "functions" | "edge";
/** Redirects written to `_redirects`. Checked: a path or an absolute URL, no spaces. */
readonly redirects?: readonly NetlifyRedirect[];
}
Members#
| Name | Type | Description |
|---|---|---|
outDir? |
readonly outDir?: string |
Output folder relative to the project. Default dist/netlify. |
target? |
readonly target?: "functions" | "edge" |
"functions" (default, Node.js Netlify Function) or "edge" (Deno Edge Function). |
redirects? |
readonly redirects?: readonly NetlifyRedirect[] |
Redirects written to _redirects. Checked: a path or an absolute URL, no spaces. |