1 | {
|
2 | "additionalProperties": false,
|
3 | "definitions": {
|
4 | "AfterEmitCleanOptions": {
|
5 | "additionalProperties": false,
|
6 | "properties": {
|
7 | "excludes": {
|
8 | "description": "Path array to exclude from deleting.",
|
9 | "items": {
|
10 | "type": "string"
|
11 | },
|
12 | "type": "array"
|
13 | },
|
14 | "paths": {
|
15 | "description": "Paths to be deleted.",
|
16 | "items": {
|
17 | "type": "string"
|
18 | },
|
19 | "type": "array"
|
20 | }
|
21 | },
|
22 | "type": "object"
|
23 | },
|
24 | "AppEnvOverridesOptions": {
|
25 | "additionalProperties": {
|
26 | "$ref": "#/definitions/AppProjectConfigBase"
|
27 | },
|
28 | "type": "object"
|
29 | },
|
30 | "AppProjectConfigBase": {
|
31 | "additionalProperties": false,
|
32 | "properties": {
|
33 | "aot": {
|
34 | "description": "Build using Ahead of Time compilation.",
|
35 | "type": "boolean"
|
36 | },
|
37 | "banner": {
|
38 | "description": "Banner text to add at the top of each generated files. It can be text file name or raw text.",
|
39 | "type": "string"
|
40 | },
|
41 | "baseHref": {
|
42 | "description": "The base URL for all relative URLs on a page.",
|
43 | "type": "string"
|
44 | },
|
45 | "buildOptimizer": {
|
46 | "description": "Set true to enable build optimizer.",
|
47 | "type": "boolean"
|
48 | },
|
49 | "bundleAnalyzer": {
|
50 | "anyOf": [
|
51 | {
|
52 | "$ref": "#/definitions/BundleAnalyzerOptions"
|
53 | },
|
54 | {
|
55 | "type": "boolean"
|
56 | }
|
57 | ],
|
58 | "description": "Webpack Bundle analyzer options."
|
59 | },
|
60 | "clean": {
|
61 | "anyOf": [
|
62 | {
|
63 | "$ref": "#/definitions/CleanOptions"
|
64 | },
|
65 | {
|
66 | "type": "boolean"
|
67 | }
|
68 | ],
|
69 | "description": "Clean options."
|
70 | },
|
71 | "commonChunk": {
|
72 | "description": "If true, chunk a separate bundle containing common code used across multiple bundles.",
|
73 | "type": "boolean"
|
74 | },
|
75 | "concatenateModules": {
|
76 | "description": "Set true to enable scope hoisting.",
|
77 | "type": "boolean"
|
78 | },
|
79 | "copy": {
|
80 | "description": "Copy options.",
|
81 | "items": {
|
82 | "anyOf": [
|
83 | {
|
84 | "$ref": "#/definitions/AssetEntry"
|
85 | },
|
86 | {
|
87 | "type": "string"
|
88 | }
|
89 | ]
|
90 | },
|
91 | "type": "array"
|
92 | },
|
93 | "entry": {
|
94 | "description": "The main typescript entry file to be bundled.",
|
95 | "type": "string"
|
96 | },
|
97 | "environmentVariables": {
|
98 | "anyOf": [
|
99 | {
|
100 | "additionalProperties": {
|
101 | "type": [
|
102 | "string",
|
103 | "boolean"
|
104 | ]
|
105 | },
|
106 | "type": "object"
|
107 | },
|
108 | {
|
109 | "type": "boolean"
|
110 | }
|
111 | ],
|
112 | "description": "Custom environment variables to be included in bundle."
|
113 | },
|
114 | "externals": {
|
115 | "anyOf": [
|
116 | {
|
117 | "$ref": "#/definitions/ExternalsObjectElement"
|
118 | },
|
119 | {
|
120 | "items": {
|
121 | "anyOf": [
|
122 | {
|
123 | "$ref": "#/definitions/ExternalsObjectElement"
|
124 | },
|
125 | {
|
126 | "type": "string"
|
127 | }
|
128 | ]
|
129 | },
|
130 | "type": "array"
|
131 | },
|
132 | {
|
133 | "type": "string"
|
134 | }
|
135 | ],
|
136 | "description": "The externals configuration option provides a way of excluding dependencies from the output bundle."
|
137 | },
|
138 | "extractCss": {
|
139 | "description": "If true, build process will extracts css specified in styles entry as styles.css.",
|
140 | "type": "boolean"
|
141 | },
|
142 | "extractLicenseOutputFilename": {
|
143 | "description": "Output file name for extracted licenses.",
|
144 | "type": "string"
|
145 | },
|
146 | "extractLicenses": {
|
147 | "description": "Extract all licenses in a separate file.",
|
148 | "type": "boolean"
|
149 | },
|
150 | "fileReplacements": {
|
151 | "description": "Replaces resources with new resources.",
|
152 | "items": {
|
153 | "$ref": "#/definitions/FileReplacementEntry"
|
154 | },
|
155 | "type": "array"
|
156 | },
|
157 | "forkTypeChecker": {
|
158 | "description": "Run the TypeScript type checker in a forked process.",
|
159 | "type": "boolean"
|
160 | },
|
161 | "htmlInject": {
|
162 | "$ref": "#/definitions/HtmlInjectOptions",
|
163 | "description": "The html injection options."
|
164 | },
|
165 | "i18nFile": {
|
166 | "description": "Path to the translation file.",
|
167 | "type": "string"
|
168 | },
|
169 | "i18nFormat": {
|
170 | "description": "Import format if different from `i18nFormat`.",
|
171 | "type": "string"
|
172 | },
|
173 | "i18nLocale": {
|
174 | "description": "Locale of the imported translations.",
|
175 | "type": "string"
|
176 | },
|
177 | "i18nMissingTranslation": {
|
178 | "description": "How to handle missing messages.",
|
179 | "enum": [
|
180 | "error",
|
181 | "ignore",
|
182 | "warning"
|
183 | ],
|
184 | "type": "string"
|
185 | },
|
186 | "i18nOutFile": {
|
187 | "description": "Path to the extracted message file.",
|
188 | "type": "string"
|
189 | },
|
190 | "i18nOutFormat": {
|
191 | "description": "Export format (xlf, xlf2 or xmb).",
|
192 | "type": "string"
|
193 | },
|
194 | "lazyModules": {
|
195 | "description": "List of additional NgModule files that will be lazy loaded (lazy router modules will be discovered automatically).",
|
196 | "items": {
|
197 | "type": "string"
|
198 | },
|
199 | "type": "array"
|
200 | },
|
201 | "libraryTarget": {
|
202 | "description": "Module format for bundling.",
|
203 | "enum": [
|
204 | "commonjs",
|
205 | "commonjs2",
|
206 | "umd",
|
207 | "var"
|
208 | ],
|
209 | "type": "string"
|
210 | },
|
211 | "mainChunkName": {
|
212 | "description": "The output chunk name for main entry.",
|
213 | "type": "string"
|
214 | },
|
215 | "namedChunks": {
|
216 | "description": "Use file name for lazy loaded chunks.",
|
217 | "type": "boolean"
|
218 | },
|
219 | "ngswConfigPath": {
|
220 | "description": "Path to ngsw-config.json.",
|
221 | "type": "string"
|
222 | },
|
223 | "nodeModulesAsExternals": {
|
224 | "description": "If true, node_modules packages are not included in bundle.",
|
225 | "type": "boolean"
|
226 | },
|
227 | "nodeResolveFields": {
|
228 | "description": "Custom Node.js resolution main fields.",
|
229 | "items": {
|
230 | "type": "string"
|
231 | },
|
232 | "type": "array"
|
233 | },
|
234 | "optimization": {
|
235 | "description": "Defines the optimization level of the build.",
|
236 | "type": "boolean"
|
237 | },
|
238 | "outputHashing": {
|
239 | "anyOf": [
|
240 | {
|
241 | "$ref": "#/definitions/OutputHashingOptions"
|
242 | },
|
243 | {
|
244 | "enum": [
|
245 | "all",
|
246 | "bundles",
|
247 | "media",
|
248 | "none"
|
249 | ],
|
250 | "type": "string"
|
251 | }
|
252 | ],
|
253 | "description": "Define the output filename cache-busting hashing mode."
|
254 | },
|
255 | "outputPath": {
|
256 | "description": "The output directory for build results.",
|
257 | "type": "string"
|
258 | },
|
259 | "performance": {
|
260 | "$ref": "#/definitions/PerformanceOptions",
|
261 | "description": "Performance options."
|
262 | },
|
263 | "platformTarget": {
|
264 | "description": "Tell the build system which platform environment the application is targeting.",
|
265 | "enum": [
|
266 | "node",
|
267 | "web"
|
268 | ],
|
269 | "type": "string"
|
270 | },
|
271 | "polyfills": {
|
272 | "anyOf": [
|
273 | {
|
274 | "items": {
|
275 | "type": "string"
|
276 | },
|
277 | "type": "array"
|
278 | },
|
279 | {
|
280 | "type": "string"
|
281 | }
|
282 | ],
|
283 | "description": "Polyfill entries."
|
284 | },
|
285 | "polyfillsChunkName": {
|
286 | "description": "The output chunk name for polyfills.",
|
287 | "type": "string"
|
288 | },
|
289 | "publicPath": {
|
290 | "description": "The url where files will be deployed.",
|
291 | "type": "string"
|
292 | },
|
293 | "referenceDll": {
|
294 | "description": "To consume dll bundle created by the dll build.",
|
295 | "type": "boolean"
|
296 | },
|
297 | "scripts": {
|
298 | "description": "Global script entries.",
|
299 | "items": {
|
300 | "anyOf": [
|
301 | {
|
302 | "$ref": "#/definitions/GlobalEntry"
|
303 | },
|
304 | {
|
305 | "type": "string"
|
306 | }
|
307 | ]
|
308 | },
|
309 | "type": "array"
|
310 | },
|
311 | "serviceWorker": {
|
312 | "description": "Generates a service worker config for production builds.",
|
313 | "type": "boolean"
|
314 | },
|
315 | "skip": {
|
316 | "description": "If true, this project config will be skipped by the build process.",
|
317 | "type": "boolean"
|
318 | },
|
319 | "sourceMap": {
|
320 | "description": "If true, sourcemaps will be generated.",
|
321 | "type": "boolean"
|
322 | },
|
323 | "sourceMapDevTool": {
|
324 | "description": "This option controls if and how source maps are generated.",
|
325 | "enum": [
|
326 | "#@cheap-eval-source-map",
|
327 | "#@cheap-module-eval-source-map",
|
328 | "#@cheap-module-source-map",
|
329 | "#@cheap-source-map",
|
330 | "#@eval",
|
331 | "#@eval-source-map",
|
332 | "#@hidden-source-map",
|
333 | "#@inline-source-map",
|
334 | "#@nosources-source-map",
|
335 | "#@source-map",
|
336 | "#cheap-eval-source-map",
|
337 | "#cheap-module-eval-source-map",
|
338 | "#cheap-module-source-map",
|
339 | "#cheap-source-map",
|
340 | "#eval",
|
341 | "#eval-source-map",
|
342 | "#hidden-source-map",
|
343 | "#inline-source-map",
|
344 | "#nosources-source-map",
|
345 | "#source-map",
|
346 | "@cheap-eval-source-map",
|
347 | "@cheap-module-eval-source-map",
|
348 | "@cheap-module-source-map",
|
349 | "@cheap-source-map",
|
350 | "@eval",
|
351 | "@eval-source-map",
|
352 | "@hidden-source-map",
|
353 | "@inline-source-map",
|
354 | "@nosources-source-map",
|
355 | "@source-map",
|
356 | "cheap-eval-source-map",
|
357 | "cheap-module-eval-source-map",
|
358 | "cheap-module-source-map",
|
359 | "cheap-source-map",
|
360 | "eval",
|
361 | "eval-source-map",
|
362 | false,
|
363 | "hidden-source-map",
|
364 | "inline-source-map",
|
365 | "nosources-source-map",
|
366 | "source-map",
|
367 | true
|
368 | ]
|
369 | },
|
370 | "sourceMapDevToolFallbackModuleFilenameTemplate": {
|
371 | "description": "A fallback used when the template string of 'sourceMapFilenameTemplate' yields duplicates.",
|
372 | "type": "string"
|
373 | },
|
374 | "sourceMapDevToolModuleFilenameTemplate": {
|
375 | "description": "Customize the names used in each source map.",
|
376 | "type": "string"
|
377 | },
|
378 | "stats": {
|
379 | "anyOf": [
|
380 | {
|
381 | "$ref": "#/definitions/WebpackStatsToStringOptions"
|
382 | },
|
383 | {
|
384 | "enum": [
|
385 | "errors-only",
|
386 | false,
|
387 | "minimal",
|
388 | "none",
|
389 | "normal",
|
390 | true,
|
391 | "verbose"
|
392 | ]
|
393 | }
|
394 | ],
|
395 | "description": "The webpack stats option - lets you precisely control what bundle information gets displayed."
|
396 | },
|
397 | "stylePreprocessorOptions": {
|
398 | "$ref": "#/definitions/StylePreprocessorOptions",
|
399 | "description": "Options to pass to style preprocessors."
|
400 | },
|
401 | "styles": {
|
402 | "description": "List of global style entries.",
|
403 | "items": {
|
404 | "anyOf": [
|
405 | {
|
406 | "$ref": "#/definitions/GlobalEntry"
|
407 | },
|
408 | {
|
409 | "type": "string"
|
410 | }
|
411 | ]
|
412 | },
|
413 | "type": "array"
|
414 | },
|
415 | "tsConfig": {
|
416 | "description": "The typescript configuration file to be used.",
|
417 | "type": "string"
|
418 | },
|
419 | "vendorChunk": {
|
420 | "description": "If true, requested modules started with node_modules path are chunk into [vendorChunkName].js.",
|
421 | "type": "boolean"
|
422 | },
|
423 | "vendorChunkName": {
|
424 | "description": "The output chunk name for vendor or dll chunk.",
|
425 | "type": "string"
|
426 | },
|
427 | "vendors": {
|
428 | "description": "The vendor module entries for dll bundle.",
|
429 | "items": {
|
430 | "type": "string"
|
431 | },
|
432 | "type": "array"
|
433 | },
|
434 | "webpackConfig": {
|
435 | "description": "Custom webpack config file to be merged.",
|
436 | "type": "string"
|
437 | }
|
438 | },
|
439 | "type": "object"
|
440 | },
|
441 | "AssetEntry": {
|
442 | "additionalProperties": false,
|
443 | "properties": {
|
444 | "exclude": {
|
445 | "description": "The ignore list.",
|
446 | "items": {
|
447 | "type": "string"
|
448 | },
|
449 | "type": "array"
|
450 | },
|
451 | "from": {
|
452 | "description": "The source file, it can be absolute or relative path or glob pattern.",
|
453 | "type": "string"
|
454 | },
|
455 | "to": {
|
456 | "description": "The output file name.",
|
457 | "type": "string"
|
458 | }
|
459 | },
|
460 | "type": "object"
|
461 | },
|
462 | "BeforeBuildCleanOptions": {
|
463 | "additionalProperties": false,
|
464 | "properties": {
|
465 | "cleanCache": {
|
466 | "description": "If true, delete cache directories before build.",
|
467 | "type": "boolean"
|
468 | },
|
469 | "cleanOutDir": {
|
470 | "description": "If true, delete output directory before build.",
|
471 | "type": "boolean"
|
472 | },
|
473 | "excludes": {
|
474 | "description": "Path array to exclude from deleting.",
|
475 | "items": {
|
476 | "type": "string"
|
477 | },
|
478 | "type": "array"
|
479 | },
|
480 | "paths": {
|
481 | "description": "Paths to be deleted.",
|
482 | "items": {
|
483 | "type": "string"
|
484 | },
|
485 | "type": "array"
|
486 | }
|
487 | },
|
488 | "type": "object"
|
489 | },
|
490 | "BundleAnalyzerOptions": {
|
491 | "additionalProperties": false,
|
492 | "properties": {
|
493 | "generateStatsFile": {
|
494 | "description": "If `true`, Webpack Stats JSON file will be generated in bundles output directory.",
|
495 | "type": "boolean"
|
496 | },
|
497 | "openAnalyzer": {
|
498 | "description": "If true, automatically open report in default browser.",
|
499 | "type": "boolean"
|
500 | },
|
501 | "reportFilename": {
|
502 | "description": "Path to bundle report file that will be generated in `static` mode.",
|
503 | "type": "string"
|
504 | },
|
505 | "statsFilename": {
|
506 | "description": "Name of Webpack Stats JSON file that will be generated if `generateStatsFile` is `true`.",
|
507 | "type": "string"
|
508 | }
|
509 | },
|
510 | "type": "object"
|
511 | },
|
512 | "CleanOptions": {
|
513 | "additionalProperties": false,
|
514 | "properties": {
|
515 | "afterEmit": {
|
516 | "$ref": "#/definitions/AfterEmitCleanOptions",
|
517 | "description": "After emit clean option."
|
518 | },
|
519 | "allowOutsideOutDir": {
|
520 | "description": "Allows cleaning outside of output directory.",
|
521 | "type": "boolean"
|
522 | },
|
523 | "allowOutsideWorkspaceRoot": {
|
524 | "description": "Allows cleaning outside of workspace root.",
|
525 | "type": "boolean"
|
526 | },
|
527 | "beforeBuild": {
|
528 | "$ref": "#/definitions/BeforeBuildCleanOptions",
|
529 | "description": "Before build clean option."
|
530 | }
|
531 | },
|
532 | "type": "object"
|
533 | },
|
534 | "ExternalsObjectElement": {
|
535 | "additionalProperties": {
|
536 | "anyOf": [
|
537 | {
|
538 | "additionalProperties": {
|
539 | "type": [
|
540 | "string",
|
541 | "boolean"
|
542 | ]
|
543 | },
|
544 | "properties": {
|
545 | "amd": {
|
546 | "type": "string"
|
547 | },
|
548 | "commonjs": {
|
549 | "type": "string"
|
550 | },
|
551 | "root": {
|
552 | "type": "string"
|
553 | }
|
554 | },
|
555 | "type": "object"
|
556 | },
|
557 | {
|
558 | "type": [
|
559 | "string",
|
560 | "boolean"
|
561 | ]
|
562 | }
|
563 | ]
|
564 | },
|
565 | "type": "object"
|
566 | },
|
567 | "FileReplacementEntry": {
|
568 | "additionalProperties": false,
|
569 | "properties": {
|
570 | "replace": {
|
571 | "type": "string"
|
572 | },
|
573 | "with": {
|
574 | "type": "string"
|
575 | }
|
576 | },
|
577 | "type": "object"
|
578 | },
|
579 | "GlobalEntry": {
|
580 | "additionalProperties": false,
|
581 | "properties": {
|
582 | "bundleName": {
|
583 | "description": "The bundle name for this extra entry point.",
|
584 | "type": "string"
|
585 | },
|
586 | "input": {
|
587 | "anyOf": [
|
588 | {
|
589 | "items": {
|
590 | "type": "string"
|
591 | },
|
592 | "type": "array"
|
593 | },
|
594 | {
|
595 | "type": "string"
|
596 | }
|
597 | ],
|
598 | "description": "The file to include."
|
599 | },
|
600 | "lazy": {
|
601 | "description": "If the bundle will be lazy loaded.",
|
602 | "type": "boolean"
|
603 | }
|
604 | },
|
605 | "type": "object"
|
606 | },
|
607 | "HtmlInjectOptions": {
|
608 | "additionalProperties": false,
|
609 | "properties": {
|
610 | "baseHrefOut": {
|
611 | "type": "string"
|
612 | },
|
613 | "customAttributes": {
|
614 | "additionalProperties": {
|
615 | "type": "string"
|
616 | },
|
617 | "type": "object"
|
618 | },
|
619 | "customLinkAttributes": {
|
620 | "additionalProperties": {
|
621 | "type": "string"
|
622 | },
|
623 | "type": "object"
|
624 | },
|
625 | "customResourceHintAttributes": {
|
626 | "additionalProperties": {
|
627 | "type": "string"
|
628 | },
|
629 | "type": "object"
|
630 | },
|
631 | "customScriptAttributes": {
|
632 | "additionalProperties": {
|
633 | "type": "string"
|
634 | },
|
635 | "type": "object"
|
636 | },
|
637 | "dlls": {
|
638 | "type": "boolean"
|
639 | },
|
640 | "index": {
|
641 | "type": "string"
|
642 | },
|
643 | "indexOut": {
|
644 | "type": "string"
|
645 | },
|
646 | "minify": {
|
647 | "type": "boolean"
|
648 | },
|
649 | "prefetches": {
|
650 | "items": {
|
651 | "type": "string"
|
652 | },
|
653 | "type": "array"
|
654 | },
|
655 | "preloads": {
|
656 | "items": {
|
657 | "type": "string"
|
658 | },
|
659 | "type": "array"
|
660 | },
|
661 | "resourceHints": {
|
662 | "type": "boolean"
|
663 | },
|
664 | "resourceHintsOut": {
|
665 | "type": "string"
|
666 | },
|
667 | "runtimeChunkInline": {
|
668 | "type": "boolean"
|
669 | },
|
670 | "runtimeInlineOut": {
|
671 | "type": "string"
|
672 | },
|
673 | "scriptsOut": {
|
674 | "type": "string"
|
675 | },
|
676 | "stylesOut": {
|
677 | "type": "string"
|
678 | }
|
679 | },
|
680 | "type": "object"
|
681 | },
|
682 | "OutputHashingOptions": {
|
683 | "additionalProperties": false,
|
684 | "properties": {
|
685 | "bundles": {
|
686 | "type": "boolean"
|
687 | },
|
688 | "chunks": {
|
689 | "type": "boolean"
|
690 | },
|
691 | "extractedAssets": {
|
692 | "type": "boolean"
|
693 | }
|
694 | },
|
695 | "type": "object"
|
696 | },
|
697 | "PerformanceOptions": {
|
698 | "additionalProperties": false,
|
699 | "properties": {
|
700 | "hints": {
|
701 | "enum": [
|
702 | "error",
|
703 | false,
|
704 | true,
|
705 | "warning"
|
706 | ]
|
707 | },
|
708 | "maxAssetSize": {
|
709 | "type": "number"
|
710 | },
|
711 | "maxEntrypointSize": {
|
712 | "type": "number"
|
713 | }
|
714 | },
|
715 | "type": "object"
|
716 | },
|
717 | "StylePreprocessorOptions": {
|
718 | "additionalProperties": false,
|
719 | "properties": {
|
720 | "includePaths": {
|
721 | "description": "An array of paths that LibSass can look in to attempt to resolve your @import declarations.",
|
722 | "items": {
|
723 | "type": "string"
|
724 | },
|
725 | "type": "array"
|
726 | }
|
727 | },
|
728 | "type": "object"
|
729 | },
|
730 | "WebpackStatsToStringOptions": {
|
731 | "properties": {
|
732 | "assets": {
|
733 | "type": "boolean"
|
734 | },
|
735 | "assetsSort": {
|
736 | "type": "string"
|
737 | },
|
738 | "cached": {
|
739 | "type": "boolean"
|
740 | },
|
741 | "cachedAssets": {
|
742 | "type": "boolean"
|
743 | },
|
744 | "children": {
|
745 | "type": "boolean"
|
746 | },
|
747 | "chunkModules": {
|
748 | "type": "boolean"
|
749 | },
|
750 | "chunkOrigins": {
|
751 | "type": "boolean"
|
752 | },
|
753 | "chunks": {
|
754 | "type": "boolean"
|
755 | },
|
756 | "chunksSort": {
|
757 | "type": "string"
|
758 | },
|
759 | "colors": {
|
760 | "type": "boolean"
|
761 | },
|
762 | "context": {
|
763 | "type": "string"
|
764 | },
|
765 | "depth": {
|
766 | "type": "boolean"
|
767 | },
|
768 | "entrypoints": {
|
769 | "type": "boolean"
|
770 | },
|
771 | "env": {
|
772 | "type": "boolean"
|
773 | },
|
774 | "errorDetails": {
|
775 | "type": "boolean"
|
776 | },
|
777 | "errors": {
|
778 | "type": "boolean"
|
779 | },
|
780 | "exclude": {
|
781 | "anyOf": [
|
782 | {
|
783 | "items": {
|
784 | "type": "string"
|
785 | },
|
786 | "type": "array"
|
787 | },
|
788 | {
|
789 | "type": "string"
|
790 | }
|
791 | ]
|
792 | },
|
793 | "excludeAssets": {
|
794 | "anyOf": [
|
795 | {
|
796 | "items": {
|
797 | "type": "string"
|
798 | },
|
799 | "type": "array"
|
800 | },
|
801 | {
|
802 | "type": "string"
|
803 | }
|
804 | ]
|
805 | },
|
806 | "excludeModules": {
|
807 | "anyOf": [
|
808 | {
|
809 | "items": {
|
810 | "type": "string"
|
811 | },
|
812 | "type": "array"
|
813 | },
|
814 | {
|
815 | "type": "string"
|
816 | }
|
817 | ]
|
818 | },
|
819 | "hash": {
|
820 | "type": "boolean"
|
821 | },
|
822 | "maxModules": {
|
823 | "type": "number"
|
824 | },
|
825 | "moduleTrace": {
|
826 | "type": "boolean"
|
827 | },
|
828 | "modules": {
|
829 | "type": "boolean"
|
830 | },
|
831 | "modulesSort": {
|
832 | "type": "string"
|
833 | },
|
834 | "performance": {
|
835 | "type": "boolean"
|
836 | },
|
837 | "providedExports": {
|
838 | "type": "boolean"
|
839 | },
|
840 | "publicPath": {
|
841 | "type": "boolean"
|
842 | },
|
843 | "reasons": {
|
844 | "type": "boolean"
|
845 | },
|
846 | "source": {
|
847 | "type": "boolean"
|
848 | },
|
849 | "timings": {
|
850 | "type": "boolean"
|
851 | },
|
852 | "usedExports": {
|
853 | "type": "boolean"
|
854 | },
|
855 | "version": {
|
856 | "type": "boolean"
|
857 | },
|
858 | "warnings": {
|
859 | "type": "boolean"
|
860 | },
|
861 | "warningsFilter": {
|
862 | "anyOf": [
|
863 | {
|
864 | "items": {
|
865 | "type": "string"
|
866 | },
|
867 | "type": "array"
|
868 | },
|
869 | {
|
870 | "type": "string"
|
871 | }
|
872 | ]
|
873 | }
|
874 | },
|
875 | "type": "object"
|
876 | }
|
877 | },
|
878 | "properties": {
|
879 | "$schema": {
|
880 | "description": "Link to schema.",
|
881 | "type": "string"
|
882 | },
|
883 | "aot": {
|
884 | "description": "Build using Ahead of Time compilation.",
|
885 | "type": "boolean"
|
886 | },
|
887 | "banner": {
|
888 | "description": "Banner text to add at the top of each generated files. It can be text file name or raw text.",
|
889 | "type": "string"
|
890 | },
|
891 | "baseHref": {
|
892 | "description": "The base URL for all relative URLs on a page.",
|
893 | "type": "string"
|
894 | },
|
895 | "buildOptimizer": {
|
896 | "description": "Set true to enable build optimizer.",
|
897 | "type": "boolean"
|
898 | },
|
899 | "bundleAnalyzer": {
|
900 | "anyOf": [
|
901 | {
|
902 | "$ref": "#/definitions/BundleAnalyzerOptions"
|
903 | },
|
904 | {
|
905 | "type": "boolean"
|
906 | }
|
907 | ],
|
908 | "description": "Webpack Bundle analyzer options."
|
909 | },
|
910 | "clean": {
|
911 | "anyOf": [
|
912 | {
|
913 | "$ref": "#/definitions/CleanOptions"
|
914 | },
|
915 | {
|
916 | "type": "boolean"
|
917 | }
|
918 | ],
|
919 | "description": "Clean options."
|
920 | },
|
921 | "commonChunk": {
|
922 | "description": "If true, chunk a separate bundle containing common code used across multiple bundles.",
|
923 | "type": "boolean"
|
924 | },
|
925 | "concatenateModules": {
|
926 | "description": "Set true to enable scope hoisting.",
|
927 | "type": "boolean"
|
928 | },
|
929 | "copy": {
|
930 | "description": "Copy options.",
|
931 | "items": {
|
932 | "anyOf": [
|
933 | {
|
934 | "$ref": "#/definitions/AssetEntry"
|
935 | },
|
936 | {
|
937 | "type": "string"
|
938 | }
|
939 | ]
|
940 | },
|
941 | "type": "array"
|
942 | },
|
943 | "entry": {
|
944 | "description": "The main typescript entry file to be bundled.",
|
945 | "type": "string"
|
946 | },
|
947 | "envOverrides": {
|
948 | "$ref": "#/definitions/AppEnvOverridesOptions",
|
949 | "description": "To override properties based on build environment."
|
950 | },
|
951 | "environmentVariables": {
|
952 | "anyOf": [
|
953 | {
|
954 | "additionalProperties": {
|
955 | "type": [
|
956 | "string",
|
957 | "boolean"
|
958 | ]
|
959 | },
|
960 | "type": "object"
|
961 | },
|
962 | {
|
963 | "type": "boolean"
|
964 | }
|
965 | ],
|
966 | "description": "Custom environment variables to be included in bundle."
|
967 | },
|
968 | "extends": {
|
969 | "anyOf": [
|
970 | {
|
971 | "items": {
|
972 | "type": "string"
|
973 | },
|
974 | "type": "array"
|
975 | },
|
976 | {
|
977 | "type": "string"
|
978 | }
|
979 | ],
|
980 | "description": "The name of build-in configuration preset, or path(s) to other configuration files which are extended by this configuration."
|
981 | },
|
982 | "externals": {
|
983 | "anyOf": [
|
984 | {
|
985 | "$ref": "#/definitions/ExternalsObjectElement"
|
986 | },
|
987 | {
|
988 | "items": {
|
989 | "anyOf": [
|
990 | {
|
991 | "$ref": "#/definitions/ExternalsObjectElement"
|
992 | },
|
993 | {
|
994 | "type": "string"
|
995 | }
|
996 | ]
|
997 | },
|
998 | "type": "array"
|
999 | },
|
1000 | {
|
1001 | "type": "string"
|
1002 | }
|
1003 | ],
|
1004 | "description": "The externals configuration option provides a way of excluding dependencies from the output bundle."
|
1005 | },
|
1006 | "extractCss": {
|
1007 | "description": "If true, build process will extracts css specified in styles entry as styles.css.",
|
1008 | "type": "boolean"
|
1009 | },
|
1010 | "extractLicenseOutputFilename": {
|
1011 | "description": "Output file name for extracted licenses.",
|
1012 | "type": "string"
|
1013 | },
|
1014 | "extractLicenses": {
|
1015 | "description": "Extract all licenses in a separate file.",
|
1016 | "type": "boolean"
|
1017 | },
|
1018 | "fileReplacements": {
|
1019 | "description": "Replaces resources with new resources.",
|
1020 | "items": {
|
1021 | "$ref": "#/definitions/FileReplacementEntry"
|
1022 | },
|
1023 | "type": "array"
|
1024 | },
|
1025 | "forkTypeChecker": {
|
1026 | "description": "Run the TypeScript type checker in a forked process.",
|
1027 | "type": "boolean"
|
1028 | },
|
1029 | "htmlInject": {
|
1030 | "$ref": "#/definitions/HtmlInjectOptions",
|
1031 | "description": "The html injection options."
|
1032 | },
|
1033 | "i18nFile": {
|
1034 | "description": "Path to the translation file.",
|
1035 | "type": "string"
|
1036 | },
|
1037 | "i18nFormat": {
|
1038 | "description": "Import format if different from `i18nFormat`.",
|
1039 | "type": "string"
|
1040 | },
|
1041 | "i18nLocale": {
|
1042 | "description": "Locale of the imported translations.",
|
1043 | "type": "string"
|
1044 | },
|
1045 | "i18nMissingTranslation": {
|
1046 | "description": "How to handle missing messages.",
|
1047 | "enum": [
|
1048 | "error",
|
1049 | "ignore",
|
1050 | "warning"
|
1051 | ],
|
1052 | "type": "string"
|
1053 | },
|
1054 | "i18nOutFile": {
|
1055 | "description": "Path to the extracted message file.",
|
1056 | "type": "string"
|
1057 | },
|
1058 | "i18nOutFormat": {
|
1059 | "description": "Export format (xlf, xlf2 or xmb).",
|
1060 | "type": "string"
|
1061 | },
|
1062 | "lazyModules": {
|
1063 | "description": "List of additional NgModule files that will be lazy loaded (lazy router modules will be discovered automatically).",
|
1064 | "items": {
|
1065 | "type": "string"
|
1066 | },
|
1067 | "type": "array"
|
1068 | },
|
1069 | "libraryTarget": {
|
1070 | "description": "Module format for bundling.",
|
1071 | "enum": [
|
1072 | "commonjs",
|
1073 | "commonjs2",
|
1074 | "umd",
|
1075 | "var"
|
1076 | ],
|
1077 | "type": "string"
|
1078 | },
|
1079 | "mainChunkName": {
|
1080 | "description": "The output chunk name for main entry.",
|
1081 | "type": "string"
|
1082 | },
|
1083 | "name": {
|
1084 | "description": "The name of this configuration.",
|
1085 | "type": "string"
|
1086 | },
|
1087 | "namedChunks": {
|
1088 | "description": "Use file name for lazy loaded chunks.",
|
1089 | "type": "boolean"
|
1090 | },
|
1091 | "ngswConfigPath": {
|
1092 | "description": "Path to ngsw-config.json.",
|
1093 | "type": "string"
|
1094 | },
|
1095 | "nodeModulesAsExternals": {
|
1096 | "description": "If true, node_modules packages are not included in bundle.",
|
1097 | "type": "boolean"
|
1098 | },
|
1099 | "nodeResolveFields": {
|
1100 | "description": "Custom Node.js resolution main fields.",
|
1101 | "items": {
|
1102 | "type": "string"
|
1103 | },
|
1104 | "type": "array"
|
1105 | },
|
1106 | "optimization": {
|
1107 | "description": "Defines the optimization level of the build.",
|
1108 | "type": "boolean"
|
1109 | },
|
1110 | "outputHashing": {
|
1111 | "anyOf": [
|
1112 | {
|
1113 | "$ref": "#/definitions/OutputHashingOptions"
|
1114 | },
|
1115 | {
|
1116 | "enum": [
|
1117 | "all",
|
1118 | "bundles",
|
1119 | "media",
|
1120 | "none"
|
1121 | ],
|
1122 | "type": "string"
|
1123 | }
|
1124 | ],
|
1125 | "description": "Define the output filename cache-busting hashing mode."
|
1126 | },
|
1127 | "outputPath": {
|
1128 | "description": "The output directory for build results.",
|
1129 | "type": "string"
|
1130 | },
|
1131 | "performance": {
|
1132 | "$ref": "#/definitions/PerformanceOptions",
|
1133 | "description": "Performance options."
|
1134 | },
|
1135 | "platformTarget": {
|
1136 | "description": "Tell the build system which platform environment the application is targeting.",
|
1137 | "enum": [
|
1138 | "node",
|
1139 | "web"
|
1140 | ],
|
1141 | "type": "string"
|
1142 | },
|
1143 | "polyfills": {
|
1144 | "anyOf": [
|
1145 | {
|
1146 | "items": {
|
1147 | "type": "string"
|
1148 | },
|
1149 | "type": "array"
|
1150 | },
|
1151 | {
|
1152 | "type": "string"
|
1153 | }
|
1154 | ],
|
1155 | "description": "Polyfill entries."
|
1156 | },
|
1157 | "polyfillsChunkName": {
|
1158 | "description": "The output chunk name for polyfills.",
|
1159 | "type": "string"
|
1160 | },
|
1161 | "publicPath": {
|
1162 | "description": "The url where files will be deployed.",
|
1163 | "type": "string"
|
1164 | },
|
1165 | "referenceDll": {
|
1166 | "description": "To consume dll bundle created by the dll build.",
|
1167 | "type": "boolean"
|
1168 | },
|
1169 | "root": {
|
1170 | "description": "The project root folder.",
|
1171 | "type": "string"
|
1172 | },
|
1173 | "scripts": {
|
1174 | "description": "Global script entries.",
|
1175 | "items": {
|
1176 | "anyOf": [
|
1177 | {
|
1178 | "$ref": "#/definitions/GlobalEntry"
|
1179 | },
|
1180 | {
|
1181 | "type": "string"
|
1182 | }
|
1183 | ]
|
1184 | },
|
1185 | "type": "array"
|
1186 | },
|
1187 | "serviceWorker": {
|
1188 | "description": "Generates a service worker config for production builds.",
|
1189 | "type": "boolean"
|
1190 | },
|
1191 | "skip": {
|
1192 | "description": "If true, this project config will be skipped by the build process.",
|
1193 | "type": "boolean"
|
1194 | },
|
1195 | "sourceMap": {
|
1196 | "description": "If true, sourcemaps will be generated.",
|
1197 | "type": "boolean"
|
1198 | },
|
1199 | "sourceMapDevTool": {
|
1200 | "description": "This option controls if and how source maps are generated.",
|
1201 | "enum": [
|
1202 | "#@cheap-eval-source-map",
|
1203 | "#@cheap-module-eval-source-map",
|
1204 | "#@cheap-module-source-map",
|
1205 | "#@cheap-source-map",
|
1206 | "#@eval",
|
1207 | "#@eval-source-map",
|
1208 | "#@hidden-source-map",
|
1209 | "#@inline-source-map",
|
1210 | "#@nosources-source-map",
|
1211 | "#@source-map",
|
1212 | "#cheap-eval-source-map",
|
1213 | "#cheap-module-eval-source-map",
|
1214 | "#cheap-module-source-map",
|
1215 | "#cheap-source-map",
|
1216 | "#eval",
|
1217 | "#eval-source-map",
|
1218 | "#hidden-source-map",
|
1219 | "#inline-source-map",
|
1220 | "#nosources-source-map",
|
1221 | "#source-map",
|
1222 | "@cheap-eval-source-map",
|
1223 | "@cheap-module-eval-source-map",
|
1224 | "@cheap-module-source-map",
|
1225 | "@cheap-source-map",
|
1226 | "@eval",
|
1227 | "@eval-source-map",
|
1228 | "@hidden-source-map",
|
1229 | "@inline-source-map",
|
1230 | "@nosources-source-map",
|
1231 | "@source-map",
|
1232 | "cheap-eval-source-map",
|
1233 | "cheap-module-eval-source-map",
|
1234 | "cheap-module-source-map",
|
1235 | "cheap-source-map",
|
1236 | "eval",
|
1237 | "eval-source-map",
|
1238 | false,
|
1239 | "hidden-source-map",
|
1240 | "inline-source-map",
|
1241 | "nosources-source-map",
|
1242 | "source-map",
|
1243 | true
|
1244 | ]
|
1245 | },
|
1246 | "sourceMapDevToolFallbackModuleFilenameTemplate": {
|
1247 | "description": "A fallback used when the template string of 'sourceMapFilenameTemplate' yields duplicates.",
|
1248 | "type": "string"
|
1249 | },
|
1250 | "sourceMapDevToolModuleFilenameTemplate": {
|
1251 | "description": "Customize the names used in each source map.",
|
1252 | "type": "string"
|
1253 | },
|
1254 | "stats": {
|
1255 | "anyOf": [
|
1256 | {
|
1257 | "$ref": "#/definitions/WebpackStatsToStringOptions"
|
1258 | },
|
1259 | {
|
1260 | "enum": [
|
1261 | "errors-only",
|
1262 | false,
|
1263 | "minimal",
|
1264 | "none",
|
1265 | "normal",
|
1266 | true,
|
1267 | "verbose"
|
1268 | ]
|
1269 | }
|
1270 | ],
|
1271 | "description": "The webpack stats option - lets you precisely control what bundle information gets displayed."
|
1272 | },
|
1273 | "stylePreprocessorOptions": {
|
1274 | "$ref": "#/definitions/StylePreprocessorOptions",
|
1275 | "description": "Options to pass to style preprocessors."
|
1276 | },
|
1277 | "styles": {
|
1278 | "description": "List of global style entries.",
|
1279 | "items": {
|
1280 | "anyOf": [
|
1281 | {
|
1282 | "$ref": "#/definitions/GlobalEntry"
|
1283 | },
|
1284 | {
|
1285 | "type": "string"
|
1286 | }
|
1287 | ]
|
1288 | },
|
1289 | "type": "array"
|
1290 | },
|
1291 | "tsConfig": {
|
1292 | "description": "The typescript configuration file to be used.",
|
1293 | "type": "string"
|
1294 | },
|
1295 | "vendorChunk": {
|
1296 | "description": "If true, requested modules started with node_modules path are chunk into [vendorChunkName].js.",
|
1297 | "type": "boolean"
|
1298 | },
|
1299 | "vendorChunkName": {
|
1300 | "description": "The output chunk name for vendor or dll chunk.",
|
1301 | "type": "string"
|
1302 | },
|
1303 | "vendors": {
|
1304 | "description": "The vendor module entries for dll bundle.",
|
1305 | "items": {
|
1306 | "type": "string"
|
1307 | },
|
1308 | "type": "array"
|
1309 | },
|
1310 | "webpackConfig": {
|
1311 | "description": "Custom webpack config file to be merged.",
|
1312 | "type": "string"
|
1313 | }
|
1314 | },
|
1315 | "type": "object"
|
1316 | } |
\ | No newline at end of file |