UNPKG

34.9 kBJSONView Raw
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": "string"
540 },
541 "properties": {
542 "amd": {
543 "type": "string"
544 },
545 "commonjs": {
546 "type": "string"
547 },
548 "root": {
549 "type": "string"
550 }
551 },
552 "type": "object"
553 },
554 {
555 "type": "string"
556 }
557 ]
558 },
559 "type": "object"
560 },
561 "FileReplacementEntry": {
562 "additionalProperties": false,
563 "properties": {
564 "replace": {
565 "type": "string"
566 },
567 "with": {
568 "type": "string"
569 }
570 },
571 "type": "object"
572 },
573 "GlobalEntry": {
574 "additionalProperties": false,
575 "properties": {
576 "bundleName": {
577 "description": "The bundle name for this extra entry point.",
578 "type": "string"
579 },
580 "input": {
581 "anyOf": [
582 {
583 "items": {
584 "type": "string"
585 },
586 "type": "array"
587 },
588 {
589 "type": "string"
590 }
591 ],
592 "description": "The file to include."
593 },
594 "lazy": {
595 "description": "If the bundle will be lazy loaded.",
596 "type": "boolean"
597 }
598 },
599 "type": "object"
600 },
601 "HtmlInjectOptions": {
602 "additionalProperties": false,
603 "properties": {
604 "baseHrefOut": {
605 "type": "string"
606 },
607 "customAttributes": {
608 "additionalProperties": {
609 "type": "string"
610 },
611 "type": "object"
612 },
613 "customLinkAttributes": {
614 "additionalProperties": {
615 "type": "string"
616 },
617 "type": "object"
618 },
619 "customResourceHintAttributes": {
620 "additionalProperties": {
621 "type": "string"
622 },
623 "type": "object"
624 },
625 "customScriptAttributes": {
626 "additionalProperties": {
627 "type": "string"
628 },
629 "type": "object"
630 },
631 "dlls": {
632 "type": "boolean"
633 },
634 "index": {
635 "type": "string"
636 },
637 "indexOut": {
638 "type": "string"
639 },
640 "minify": {
641 "type": "boolean"
642 },
643 "prefetches": {
644 "items": {
645 "type": "string"
646 },
647 "type": "array"
648 },
649 "preloads": {
650 "items": {
651 "type": "string"
652 },
653 "type": "array"
654 },
655 "resourceHints": {
656 "type": "boolean"
657 },
658 "resourceHintsOut": {
659 "type": "string"
660 },
661 "runtimeChunkInline": {
662 "type": "boolean"
663 },
664 "runtimeInlineOut": {
665 "type": "string"
666 },
667 "scriptsOut": {
668 "type": "string"
669 },
670 "stylesOut": {
671 "type": "string"
672 }
673 },
674 "type": "object"
675 },
676 "OutputHashingOptions": {
677 "additionalProperties": false,
678 "properties": {
679 "bundles": {
680 "type": "boolean"
681 },
682 "chunks": {
683 "type": "boolean"
684 },
685 "extractedAssets": {
686 "type": "boolean"
687 }
688 },
689 "type": "object"
690 },
691 "PerformanceOptions": {
692 "additionalProperties": false,
693 "properties": {
694 "hints": {
695 "enum": [
696 "error",
697 false,
698 true,
699 "warning"
700 ]
701 },
702 "maxAssetSize": {
703 "type": "number"
704 },
705 "maxEntrypointSize": {
706 "type": "number"
707 }
708 },
709 "type": "object"
710 },
711 "StylePreprocessorOptions": {
712 "additionalProperties": false,
713 "properties": {
714 "includePaths": {
715 "description": "An array of paths that LibSass can look in to attempt to resolve your @import declarations.",
716 "items": {
717 "type": "string"
718 },
719 "type": "array"
720 }
721 },
722 "type": "object"
723 },
724 "WebpackStatsToStringOptions": {
725 "properties": {
726 "assets": {
727 "type": "boolean"
728 },
729 "assetsSort": {
730 "type": "string"
731 },
732 "cached": {
733 "type": "boolean"
734 },
735 "cachedAssets": {
736 "type": "boolean"
737 },
738 "children": {
739 "type": "boolean"
740 },
741 "chunkModules": {
742 "type": "boolean"
743 },
744 "chunkOrigins": {
745 "type": "boolean"
746 },
747 "chunks": {
748 "type": "boolean"
749 },
750 "chunksSort": {
751 "type": "string"
752 },
753 "colors": {
754 "type": "boolean"
755 },
756 "context": {
757 "type": "string"
758 },
759 "depth": {
760 "type": "boolean"
761 },
762 "entrypoints": {
763 "type": "boolean"
764 },
765 "env": {
766 "type": "boolean"
767 },
768 "errorDetails": {
769 "type": "boolean"
770 },
771 "errors": {
772 "type": "boolean"
773 },
774 "exclude": {
775 "anyOf": [
776 {
777 "items": {
778 "type": "string"
779 },
780 "type": "array"
781 },
782 {
783 "type": "string"
784 }
785 ]
786 },
787 "excludeAssets": {
788 "anyOf": [
789 {
790 "items": {
791 "type": "string"
792 },
793 "type": "array"
794 },
795 {
796 "type": "string"
797 }
798 ]
799 },
800 "excludeModules": {
801 "anyOf": [
802 {
803 "items": {
804 "type": "string"
805 },
806 "type": "array"
807 },
808 {
809 "type": "string"
810 }
811 ]
812 },
813 "hash": {
814 "type": "boolean"
815 },
816 "maxModules": {
817 "type": "number"
818 },
819 "moduleTrace": {
820 "type": "boolean"
821 },
822 "modules": {
823 "type": "boolean"
824 },
825 "modulesSort": {
826 "type": "string"
827 },
828 "performance": {
829 "type": "boolean"
830 },
831 "providedExports": {
832 "type": "boolean"
833 },
834 "publicPath": {
835 "type": "boolean"
836 },
837 "reasons": {
838 "type": "boolean"
839 },
840 "source": {
841 "type": "boolean"
842 },
843 "timings": {
844 "type": "boolean"
845 },
846 "usedExports": {
847 "type": "boolean"
848 },
849 "version": {
850 "type": "boolean"
851 },
852 "warnings": {
853 "type": "boolean"
854 },
855 "warningsFilter": {
856 "anyOf": [
857 {
858 "items": {
859 "type": "string"
860 },
861 "type": "array"
862 },
863 {
864 "type": "string"
865 }
866 ]
867 }
868 },
869 "type": "object"
870 }
871 },
872 "properties": {
873 "$schema": {
874 "description": "Link to schema.",
875 "type": "string"
876 },
877 "aot": {
878 "description": "Build using Ahead of Time compilation.",
879 "type": "boolean"
880 },
881 "banner": {
882 "description": "Banner text to add at the top of each generated files. It can be text file name or raw text.",
883 "type": "string"
884 },
885 "baseHref": {
886 "description": "The base URL for all relative URLs on a page.",
887 "type": "string"
888 },
889 "buildOptimizer": {
890 "description": "Set true to enable build optimizer.",
891 "type": "boolean"
892 },
893 "bundleAnalyzer": {
894 "anyOf": [
895 {
896 "$ref": "#/definitions/BundleAnalyzerOptions"
897 },
898 {
899 "type": "boolean"
900 }
901 ],
902 "description": "Webpack Bundle analyzer options."
903 },
904 "clean": {
905 "anyOf": [
906 {
907 "$ref": "#/definitions/CleanOptions"
908 },
909 {
910 "type": "boolean"
911 }
912 ],
913 "description": "Clean options."
914 },
915 "commonChunk": {
916 "description": "If true, chunk a separate bundle containing common code used across multiple bundles.",
917 "type": "boolean"
918 },
919 "concatenateModules": {
920 "description": "Set true to enable scope hoisting.",
921 "type": "boolean"
922 },
923 "copy": {
924 "description": "Copy options.",
925 "items": {
926 "anyOf": [
927 {
928 "$ref": "#/definitions/AssetEntry"
929 },
930 {
931 "type": "string"
932 }
933 ]
934 },
935 "type": "array"
936 },
937 "entry": {
938 "description": "The main typescript entry file to be bundled.",
939 "type": "string"
940 },
941 "envOverrides": {
942 "$ref": "#/definitions/AppEnvOverridesOptions",
943 "description": "To override properties based on build environment."
944 },
945 "environmentVariables": {
946 "anyOf": [
947 {
948 "additionalProperties": {
949 "type": [
950 "string",
951 "boolean"
952 ]
953 },
954 "type": "object"
955 },
956 {
957 "type": "boolean"
958 }
959 ],
960 "description": "Custom environment variables to be included in bundle."
961 },
962 "extends": {
963 "anyOf": [
964 {
965 "items": {
966 "type": "string"
967 },
968 "type": "array"
969 },
970 {
971 "type": "string"
972 }
973 ],
974 "description": "The name of build-in configuration preset, or path(s) to other configuration files which are extended by this configuration."
975 },
976 "externals": {
977 "anyOf": [
978 {
979 "$ref": "#/definitions/ExternalsObjectElement"
980 },
981 {
982 "items": {
983 "anyOf": [
984 {
985 "$ref": "#/definitions/ExternalsObjectElement"
986 },
987 {
988 "type": "string"
989 }
990 ]
991 },
992 "type": "array"
993 },
994 {
995 "type": "string"
996 }
997 ],
998 "description": "The externals configuration option provides a way of excluding dependencies from the output bundle."
999 },
1000 "extractCss": {
1001 "description": "If true, build process will extracts css specified in styles entry as styles.css.",
1002 "type": "boolean"
1003 },
1004 "extractLicenseOutputFilename": {
1005 "description": "Output file name for extracted licenses.",
1006 "type": "string"
1007 },
1008 "extractLicenses": {
1009 "description": "Extract all licenses in a separate file.",
1010 "type": "boolean"
1011 },
1012 "fileReplacements": {
1013 "description": "Replaces resources with new resources.",
1014 "items": {
1015 "$ref": "#/definitions/FileReplacementEntry"
1016 },
1017 "type": "array"
1018 },
1019 "forkTypeChecker": {
1020 "description": "Run the TypeScript type checker in a forked process.",
1021 "type": "boolean"
1022 },
1023 "htmlInject": {
1024 "$ref": "#/definitions/HtmlInjectOptions",
1025 "description": "The html injection options."
1026 },
1027 "i18nFile": {
1028 "description": "Path to the translation file.",
1029 "type": "string"
1030 },
1031 "i18nFormat": {
1032 "description": "Import format if different from `i18nFormat`.",
1033 "type": "string"
1034 },
1035 "i18nLocale": {
1036 "description": "Locale of the imported translations.",
1037 "type": "string"
1038 },
1039 "i18nMissingTranslation": {
1040 "description": "How to handle missing messages.",
1041 "enum": [
1042 "error",
1043 "ignore",
1044 "warning"
1045 ],
1046 "type": "string"
1047 },
1048 "i18nOutFile": {
1049 "description": "Path to the extracted message file.",
1050 "type": "string"
1051 },
1052 "i18nOutFormat": {
1053 "description": "Export format (xlf, xlf2 or xmb).",
1054 "type": "string"
1055 },
1056 "lazyModules": {
1057 "description": "List of additional NgModule files that will be lazy loaded (lazy router modules will be discovered automatically).",
1058 "items": {
1059 "type": "string"
1060 },
1061 "type": "array"
1062 },
1063 "libraryTarget": {
1064 "description": "Module format for bundling.",
1065 "enum": [
1066 "commonjs",
1067 "commonjs2",
1068 "umd",
1069 "var"
1070 ],
1071 "type": "string"
1072 },
1073 "mainChunkName": {
1074 "description": "The output chunk name for main entry.",
1075 "type": "string"
1076 },
1077 "name": {
1078 "description": "The name of this configuration.",
1079 "type": "string"
1080 },
1081 "namedChunks": {
1082 "description": "Use file name for lazy loaded chunks.",
1083 "type": "boolean"
1084 },
1085 "ngswConfigPath": {
1086 "description": "Path to ngsw-config.json.",
1087 "type": "string"
1088 },
1089 "nodeModulesAsExternals": {
1090 "description": "If true, node_modules packages are not included in bundle.",
1091 "type": "boolean"
1092 },
1093 "nodeResolveFields": {
1094 "description": "Custom Node.js resolution main fields.",
1095 "items": {
1096 "type": "string"
1097 },
1098 "type": "array"
1099 },
1100 "optimization": {
1101 "description": "Defines the optimization level of the build.",
1102 "type": "boolean"
1103 },
1104 "outputHashing": {
1105 "anyOf": [
1106 {
1107 "$ref": "#/definitions/OutputHashingOptions"
1108 },
1109 {
1110 "enum": [
1111 "all",
1112 "bundles",
1113 "media",
1114 "none"
1115 ],
1116 "type": "string"
1117 }
1118 ],
1119 "description": "Define the output filename cache-busting hashing mode."
1120 },
1121 "outputPath": {
1122 "description": "The output directory for build results.",
1123 "type": "string"
1124 },
1125 "performance": {
1126 "$ref": "#/definitions/PerformanceOptions",
1127 "description": "Performance options."
1128 },
1129 "platformTarget": {
1130 "description": "Tell the build system which platform environment the application is targeting.",
1131 "enum": [
1132 "node",
1133 "web"
1134 ],
1135 "type": "string"
1136 },
1137 "polyfills": {
1138 "anyOf": [
1139 {
1140 "items": {
1141 "type": "string"
1142 },
1143 "type": "array"
1144 },
1145 {
1146 "type": "string"
1147 }
1148 ],
1149 "description": "Polyfill entries."
1150 },
1151 "polyfillsChunkName": {
1152 "description": "The output chunk name for polyfills.",
1153 "type": "string"
1154 },
1155 "publicPath": {
1156 "description": "The url where files will be deployed.",
1157 "type": "string"
1158 },
1159 "referenceDll": {
1160 "description": "To consume dll bundle created by the dll build.",
1161 "type": "boolean"
1162 },
1163 "root": {
1164 "description": "The project root folder.",
1165 "type": "string"
1166 },
1167 "scripts": {
1168 "description": "Global script entries.",
1169 "items": {
1170 "anyOf": [
1171 {
1172 "$ref": "#/definitions/GlobalEntry"
1173 },
1174 {
1175 "type": "string"
1176 }
1177 ]
1178 },
1179 "type": "array"
1180 },
1181 "serviceWorker": {
1182 "description": "Generates a service worker config for production builds.",
1183 "type": "boolean"
1184 },
1185 "skip": {
1186 "description": "If true, this project config will be skipped by the build process.",
1187 "type": "boolean"
1188 },
1189 "sourceMap": {
1190 "description": "If true, sourcemaps will be generated.",
1191 "type": "boolean"
1192 },
1193 "sourceMapDevTool": {
1194 "description": "This option controls if and how source maps are generated.",
1195 "enum": [
1196 "#@cheap-eval-source-map",
1197 "#@cheap-module-eval-source-map",
1198 "#@cheap-module-source-map",
1199 "#@cheap-source-map",
1200 "#@eval",
1201 "#@eval-source-map",
1202 "#@hidden-source-map",
1203 "#@inline-source-map",
1204 "#@nosources-source-map",
1205 "#@source-map",
1206 "#cheap-eval-source-map",
1207 "#cheap-module-eval-source-map",
1208 "#cheap-module-source-map",
1209 "#cheap-source-map",
1210 "#eval",
1211 "#eval-source-map",
1212 "#hidden-source-map",
1213 "#inline-source-map",
1214 "#nosources-source-map",
1215 "#source-map",
1216 "@cheap-eval-source-map",
1217 "@cheap-module-eval-source-map",
1218 "@cheap-module-source-map",
1219 "@cheap-source-map",
1220 "@eval",
1221 "@eval-source-map",
1222 "@hidden-source-map",
1223 "@inline-source-map",
1224 "@nosources-source-map",
1225 "@source-map",
1226 "cheap-eval-source-map",
1227 "cheap-module-eval-source-map",
1228 "cheap-module-source-map",
1229 "cheap-source-map",
1230 "eval",
1231 "eval-source-map",
1232 false,
1233 "hidden-source-map",
1234 "inline-source-map",
1235 "nosources-source-map",
1236 "source-map",
1237 true
1238 ]
1239 },
1240 "sourceMapDevToolFallbackModuleFilenameTemplate": {
1241 "description": "A fallback used when the template string of 'sourceMapFilenameTemplate' yields duplicates.",
1242 "type": "string"
1243 },
1244 "sourceMapDevToolModuleFilenameTemplate": {
1245 "description": "Customize the names used in each source map.",
1246 "type": "string"
1247 },
1248 "stats": {
1249 "anyOf": [
1250 {
1251 "$ref": "#/definitions/WebpackStatsToStringOptions"
1252 },
1253 {
1254 "enum": [
1255 "errors-only",
1256 false,
1257 "minimal",
1258 "none",
1259 "normal",
1260 true,
1261 "verbose"
1262 ]
1263 }
1264 ],
1265 "description": "The webpack stats option - lets you precisely control what bundle information gets displayed."
1266 },
1267 "stylePreprocessorOptions": {
1268 "$ref": "#/definitions/StylePreprocessorOptions",
1269 "description": "Options to pass to style preprocessors."
1270 },
1271 "styles": {
1272 "description": "List of global style entries.",
1273 "items": {
1274 "anyOf": [
1275 {
1276 "$ref": "#/definitions/GlobalEntry"
1277 },
1278 {
1279 "type": "string"
1280 }
1281 ]
1282 },
1283 "type": "array"
1284 },
1285 "tsConfig": {
1286 "description": "The typescript configuration file to be used.",
1287 "type": "string"
1288 },
1289 "vendorChunk": {
1290 "description": "If true, requested modules started with node_modules path are chunk into [vendorChunkName].js.",
1291 "type": "boolean"
1292 },
1293 "vendorChunkName": {
1294 "description": "The output chunk name for vendor or dll chunk.",
1295 "type": "string"
1296 },
1297 "vendors": {
1298 "description": "The vendor module entries for dll bundle.",
1299 "items": {
1300 "type": "string"
1301 },
1302 "type": "array"
1303 },
1304 "webpackConfig": {
1305 "description": "Custom webpack config file to be merged.",
1306 "type": "string"
1307 }
1308 },
1309 "type": "object"
1310}
\No newline at end of file