-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.d.ts
41 lines (38 loc) · 815 Bytes
/
index.d.ts
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
35
36
37
38
39
40
41
import { Adapter } from '@sveltejs/kit';
import './ambient.js';
declare global {
const ENV_PREFIX: string;
}
interface AdapterOptions {
/**
* Default: 'build'
*/
out?: string;
/**
* Default: false
*/
precompress?: boolean;
envPrefix?: string;
/**
* Default: true
*/
polyfill?: boolean;
/**
* Default: false
* Copy the node_modules folder to the output directory
* including all devDependencies and dependencies
*/
copyDevNodeModules?: boolean;
/**
* Default: true
* If true, devDependencies and scripts are removed
* from package.json in the output directory
*/
cleanPackageJson?: boolean;
/**
* Default: true
* If true, the .npmrc file is copied to the output directory
*/
copyNpmrc?: boolean;
}
export default function plugin(options?: AdapterOptions): Adapter;