source: trip-planner-front/node_modules/@angular-devkit/build-angular/src/dev-server/schema.d.ts@ eed0bf8

Last change on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 5.4 KB
Line 
1/**
2 * Dev Server target options for Build Facade.
3 */
4export interface Schema {
5 /**
6 * List of hosts that are allowed to access the dev server.
7 */
8 allowedHosts?: string[];
9 /**
10 * Build using Ahead of Time compilation.
11 * @deprecated Use the "aot" option in the browser builder instead.
12 */
13 aot?: boolean;
14 /**
15 * Base url for the application being built.
16 * @deprecated Use the "baseHref" option in the browser builder instead.
17 */
18 baseHref?: string;
19 /**
20 * A browser builder target to serve in the format of `project:target[:configuration]`. You
21 * can also pass in more than one configuration name as a comma-separated list. Example:
22 * `project:target:production,staging`.
23 */
24 browserTarget: string;
25 /**
26 * Generate a seperate bundle containing code used across multiple bundles.
27 * @deprecated Use the "commonChunk" option in the browser builder instead.
28 */
29 commonChunk?: boolean;
30 /**
31 * URL where files will be deployed.
32 * @deprecated Use the "deployUrl" option in the browser builder instead.
33 */
34 deployUrl?: string;
35 /**
36 * Don't verify connected clients are part of allowed hosts.
37 */
38 disableHostCheck?: boolean;
39 /**
40 * Custom HTTP headers to be added to all responses.
41 */
42 headers?: {
43 [key: string]: string;
44 };
45 /**
46 * Enable hot module replacement.
47 */
48 hmr?: boolean;
49 /**
50 * Show a warning when the --hmr option is enabled.
51 * @deprecated No longer has an effect.
52 */
53 hmrWarning?: boolean;
54 /**
55 * Host to listen on.
56 */
57 host?: string;
58 /**
59 * Whether to reload the page on change, using live-reload.
60 */
61 liveReload?: boolean;
62 /**
63 * Opens the url in default browser.
64 */
65 open?: boolean;
66 /**
67 * Enables optimization of the build output. Including minification of scripts and styles,
68 * tree-shaking, dead-code elimination, tree-shaking and fonts inlining. For more
69 * information, see https://angular.io/guide/workspace-config#optimization-configuration.
70 * @deprecated Use the "optimization" option in the browser builder instead.
71 */
72 optimization?: OptimizationUnion;
73 /**
74 * Enable and define the file watching poll time period in milliseconds.
75 */
76 poll?: number;
77 /**
78 * Port to listen on.
79 */
80 port?: number;
81 /**
82 * Log progress to the console while building.
83 * @deprecated Use the "progress" option in the browser builder instead.
84 */
85 progress?: boolean;
86 /**
87 * Proxy configuration file. For more information, see
88 * https://angular.io/guide/build#proxying-to-a-backend-server.
89 */
90 proxyConfig?: string;
91 /**
92 * The URL that the browser client (or live-reload client, if enabled) should use to connect
93 * to the development server. Use for a complex dev server setup, such as one with reverse
94 * proxies.
95 */
96 publicHost?: string;
97 /**
98 * The pathname where the app will be served.
99 */
100 servePath?: string;
101 /**
102 * Show a warning when deploy-url/base-href use unsupported serve path values.
103 * @deprecated No longer has an effect.
104 */
105 servePathDefaultWarning?: boolean;
106 /**
107 * Output source maps for scripts and styles. For more information, see
108 * https://angular.io/guide/workspace-config#source-map-configuration.
109 * @deprecated Use the "sourceMap" option in the browser builder instead.
110 */
111 sourceMap?: SourceMapUnion;
112 /**
113 * Serve using HTTPS.
114 */
115 ssl?: boolean;
116 /**
117 * SSL certificate to use for serving HTTPS.
118 */
119 sslCert?: string;
120 /**
121 * SSL key to use for serving HTTPS.
122 */
123 sslKey?: string;
124 /**
125 * Generate a seperate bundle containing only vendor libraries. This option should only used
126 * for development.
127 * @deprecated Use the "vendorChunk" option in the browser builder instead.
128 */
129 vendorChunk?: boolean;
130 /**
131 * Adds more details to output logging.
132 */
133 verbose?: boolean;
134 /**
135 * Rebuild on change.
136 */
137 watch?: boolean;
138}
139/**
140 * Enables optimization of the build output. Including minification of scripts and styles,
141 * tree-shaking, dead-code elimination, tree-shaking and fonts inlining. For more
142 * information, see https://angular.io/guide/workspace-config#optimization-configuration.
143 * @deprecated Use the "optimization" option in the browser builder instead.
144 */
145export declare type OptimizationUnion = boolean | OptimizationClass;
146export interface OptimizationClass {
147 /**
148 * Enables optimization of the scripts output.
149 */
150 scripts?: boolean;
151 /**
152 * Enables optimization of the styles output.
153 */
154 styles?: boolean;
155}
156/**
157 * Output source maps for scripts and styles. For more information, see
158 * https://angular.io/guide/workspace-config#source-map-configuration.
159 * @deprecated Use the "sourceMap" option in the browser builder instead.
160 */
161export declare type SourceMapUnion = boolean | SourceMapClass;
162export interface SourceMapClass {
163 /**
164 * Output source maps used for error reporting tools.
165 */
166 hidden?: boolean;
167 /**
168 * Output source maps for all scripts.
169 */
170 scripts?: boolean;
171 /**
172 * Output source maps for all styles.
173 */
174 styles?: boolean;
175 /**
176 * Resolve vendor packages source maps.
177 */
178 vendor?: boolean;
179}
Note: See TracBrowser for help on using the repository browser.