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

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

initial commit

  • Property mode set to 100644
File size: 5.7 KB
Line 
1export interface Schema {
2 /**
3 * Which external dependencies to bundle into the bundle. By default, all of node_modules
4 * will be bundled.
5 */
6 bundleDependencies?: BundleDependenciesUnion;
7 /**
8 * Delete the output path before building.
9 */
10 deleteOutputPath?: boolean;
11 /**
12 * URL where files will be deployed.
13 */
14 deployUrl?: string;
15 /**
16 * Exclude the listed external dependencies from being bundled into the bundle. Instead, the
17 * created bundle relies on these dependencies to be available during runtime.
18 */
19 externalDependencies?: string[];
20 /**
21 * Extract all licenses in a separate file, in the case of production builds only.
22 */
23 extractLicenses?: boolean;
24 /**
25 * Replace compilation source files with other compilation source files in the build.
26 */
27 fileReplacements?: FileReplacement[];
28 /**
29 * How to handle missing translations for i18n.
30 */
31 i18nMissingTranslation?: I18NMissingTranslation;
32 /**
33 * The stylesheet language to use for the application's inline component styles.
34 */
35 inlineStyleLanguage?: InlineStyleLanguage;
36 /**
37 * Translate the bundles in one or more locales.
38 */
39 localize?: Localize;
40 /**
41 * The name of the main entry-point file.
42 */
43 main: string;
44 /**
45 * Use file name for lazy loaded chunks.
46 */
47 namedChunks?: boolean;
48 /**
49 * Enables optimization of the build output. Including minification of scripts and styles,
50 * tree-shaking and dead-code elimination. For more information, see
51 * https://angular.io/guide/workspace-config#optimization-configuration.
52 */
53 optimization?: OptimizationUnion;
54 /**
55 * Define the output filename cache-busting hashing mode.
56 */
57 outputHashing?: OutputHashing;
58 /**
59 * Path where output will be placed.
60 */
61 outputPath: string;
62 /**
63 * Enable and define the file watching poll time period in milliseconds.
64 */
65 poll?: number;
66 /**
67 * Do not use the real path when resolving modules. If unset then will default to `true` if
68 * NodeJS option --preserve-symlinks is set.
69 */
70 preserveSymlinks?: boolean;
71 /**
72 * Log progress to the console while building.
73 */
74 progress?: boolean;
75 /**
76 * The path where style resources will be placed, relative to outputPath.
77 */
78 resourcesOutputPath?: string;
79 /**
80 * Show circular dependency warnings on builds.
81 * @deprecated The recommended method to detect circular dependencies in project code is to
82 * use either a lint rule or other external tooling.
83 */
84 showCircularDependencies?: boolean;
85 /**
86 * Output source maps for scripts and styles. For more information, see
87 * https://angular.io/guide/workspace-config#source-map-configuration.
88 */
89 sourceMap?: SourceMapUnion;
90 /**
91 * Generates a 'stats.json' file which can be analyzed using tools such as
92 * 'webpack-bundle-analyzer'.
93 */
94 statsJson?: boolean;
95 /**
96 * Options to pass to style preprocessors
97 */
98 stylePreprocessorOptions?: StylePreprocessorOptions;
99 /**
100 * The name of the TypeScript configuration file.
101 */
102 tsConfig: string;
103 /**
104 * Adds more details to output logging.
105 */
106 verbose?: boolean;
107 /**
108 * Run build when files change.
109 */
110 watch?: boolean;
111}
112/**
113 * Which external dependencies to bundle into the bundle. By default, all of node_modules
114 * will be bundled.
115 */
116export declare type BundleDependenciesUnion = boolean | BundleDependenciesEnum;
117export declare enum BundleDependenciesEnum {
118 All = "all",
119 None = "none"
120}
121export interface FileReplacement {
122 replace?: string;
123 replaceWith?: string;
124 src?: string;
125 with?: string;
126}
127/**
128 * How to handle missing translations for i18n.
129 */
130export declare enum I18NMissingTranslation {
131 Error = "error",
132 Ignore = "ignore",
133 Warning = "warning"
134}
135/**
136 * The stylesheet language to use for the application's inline component styles.
137 */
138export declare enum InlineStyleLanguage {
139 Css = "css",
140 Less = "less",
141 Sass = "sass",
142 Scss = "scss"
143}
144/**
145 * Translate the bundles in one or more locales.
146 */
147export declare type Localize = string[] | boolean;
148/**
149 * Enables optimization of the build output. Including minification of scripts and styles,
150 * tree-shaking and dead-code elimination. For more information, see
151 * https://angular.io/guide/workspace-config#optimization-configuration.
152 */
153export declare type OptimizationUnion = boolean | OptimizationClass;
154export interface OptimizationClass {
155 /**
156 * Enables optimization of the scripts output.
157 */
158 scripts?: boolean;
159 /**
160 * Enables optimization of the styles output.
161 */
162 styles?: boolean;
163}
164/**
165 * Define the output filename cache-busting hashing mode.
166 */
167export declare enum OutputHashing {
168 All = "all",
169 Bundles = "bundles",
170 Media = "media",
171 None = "none"
172}
173/**
174 * Output source maps for scripts and styles. For more information, see
175 * https://angular.io/guide/workspace-config#source-map-configuration.
176 */
177export declare type SourceMapUnion = boolean | SourceMapClass;
178export interface SourceMapClass {
179 /**
180 * Output source maps used for error reporting tools.
181 */
182 hidden?: boolean;
183 /**
184 * Output source maps for all scripts.
185 */
186 scripts?: boolean;
187 /**
188 * Output source maps for all styles.
189 */
190 styles?: boolean;
191 /**
192 * Resolve vendor packages source maps.
193 */
194 vendor?: boolean;
195}
196/**
197 * Options to pass to style preprocessors
198 */
199export interface StylePreprocessorOptions {
200 /**
201 * Paths to include. Paths will be resolved to workspace root.
202 */
203 includePaths?: string[];
204}
Note: See TracBrowser for help on using the repository browser.