UNPKG

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