-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathschema.d.ts
118 lines (118 loc) · 3.36 KB
/
schema.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/**
* Dev Server target options for Build Facade.
*/
export type Schema = {
/**
* List of hosts that are allowed to access the dev server.
*/
allowedHosts?: string[];
/**
* A build builder target to serve in the format of `project:target[:configuration]`. You
* can also pass in more than one configuration name as a comma-separated list. Example:
* `project:target:production,staging`.
*/
buildTarget: string;
/**
* Don't verify connected clients are part of allowed hosts.
*/
disableHostCheck?: boolean;
/**
* Force the development server to use the 'browser-esbuild' builder when building.
*/
forceEsbuild?: boolean;
/**
* Custom HTTP headers to be added to all responses.
*/
headers?: {
[key: string]: string;
};
/**
* Enable hot module replacement.
*/
hmr?: boolean;
/**
* Host to listen on.
*/
host?: string;
/**
* Activate debugging inspector. This option only has an effect when 'SSR' or 'SSG' are
* enabled.
*/
inspect?: Inspect;
/**
* Whether to reload the page on change, using live-reload.
*/
liveReload?: boolean;
/**
* Opens the url in default browser.
*/
open?: boolean;
/**
* Enable and define the file watching poll time period in milliseconds.
*/
poll?: number;
/**
* Port to listen on.
*/
port?: number;
/**
* Enable and control the Vite-based development server's prebundling capabilities. To
* enable prebundling, the Angular CLI cache must also be enabled. This option has no effect
* when using the 'browser' or other Webpack-based builders.
*/
prebundle?: PrebundleUnion;
/**
* Proxy configuration file. For more information, see
* https://angular.dev/tools/cli/serve#proxying-to-a-backend-server.
*/
proxyConfig?: string;
/**
* The URL that the browser client (or live-reload client, if enabled) should use to connect
* to the development server. Use for a complex dev server setup, such as one with reverse
* proxies. This option has no effect when using the 'application' or other esbuild-based
* builders.
*/
publicHost?: string;
/**
* The pathname where the application will be served.
*/
servePath?: string;
/**
* Serve using HTTPS.
*/
ssl?: boolean;
/**
* SSL certificate to use for serving HTTPS.
*/
sslCert?: string;
/**
* SSL key to use for serving HTTPS.
*/
sslKey?: string;
/**
* Adds more details to output logging.
*/
verbose?: boolean;
/**
* Rebuild on change.
*/
watch?: boolean;
};
/**
* Activate debugging inspector. This option only has an effect when 'SSR' or 'SSG' are
* enabled.
*/
export type Inspect = boolean | string;
/**
* Enable and control the Vite-based development server's prebundling capabilities. To
* enable prebundling, the Angular CLI cache must also be enabled. This option has no effect
* when using the 'browser' or other Webpack-based builders.
*/
export type PrebundleUnion = boolean | PrebundleClass;
export type PrebundleClass = {
/**
* List of package imports that should not be prebundled by the development server. The
* packages will be bundled into the application code itself.
*/
exclude: string[];
};