-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Expand file tree
/
Copy pathindex.d.ts
More file actions
34 lines (32 loc) · 873 Bytes
/
Copy pathindex.d.ts
File metadata and controls
34 lines (32 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import { Adapter } from '@sveltejs/kit';
import './ambient.js';
interface AdapterOptions {
/**
* The directory to build the server to. It defaults to `build` — i.e.
* `node build` would start the server locally after it has been created.
* @default 'build'
*/
out?: string;
/**
* Enables precompressing using gzip and brotli for assets and prerendered pages.
* @default true
*/
precompress?: boolean;
/**
* If you need to change the name of the environment variables used to configure
* the deployment (for example, to deconflict with environment variables you
* don't control), you can specify a prefix:
*
* ```js
* envPrefix: 'MY_CUSTOM_'
* ```
*
* ```sh
* MY_CUSTOM_HOST=127.0.0.1 \
* MY_CUSTOM_PORT=4000 \
* node build
* ```
*/
envPrefix?: string;
}
export default function plugin(options?: AdapterOptions): Adapter;