|
8 | 8 | "schematics": { |
9 | 9 | "@schematics/angular:component": { |
10 | 10 | "style": "scss" |
11 | | - }, |
12 | | - "@schematics/angular:application": { |
13 | | - "strict": true |
14 | 11 | } |
15 | 12 | }, |
16 | 13 | "root": "", |
|
24 | 21 | "base": "dist" |
25 | 22 | }, |
26 | 23 | "index": "src/index.html", |
27 | | - "polyfills": ["src/polyfills.ts"], |
| 24 | + "browser": "src/main.ts", |
| 25 | + "polyfills": ["zone.js"], |
28 | 26 | "tsConfig": "tsconfig.app.json", |
29 | 27 | "inlineStyleLanguage": "scss", |
30 | 28 | "assets": [ |
|
34 | 32 | } |
35 | 33 | ], |
36 | 34 | "styles": [ |
37 | | - "../node_modules/@angular/material/prebuilt-themes/indigo-pink.css", |
| 35 | + "../node_modules/@angular/material/prebuilt-themes/azure-blue.css", |
38 | 36 | "src/styles.scss" |
39 | 37 | ], |
40 | | - "scripts": [], |
41 | | - "browser": "src/main.ts" |
| 38 | + "scripts": [] |
42 | 39 | }, |
43 | 40 | "configurations": { |
44 | 41 | "production": { |
45 | 42 | "budgets": [ |
46 | 43 | { |
47 | 44 | "type": "initial", |
48 | | - "maximumWarning": "500kb", |
49 | | - "maximumError": "1mb" |
| 45 | + "maximumWarning": "500kB", |
| 46 | + "maximumError": "1MB" |
50 | 47 | }, |
51 | 48 | { |
52 | 49 | "type": "anyComponentStyle", |
53 | | - "maximumWarning": "2kb", |
54 | | - "maximumError": "4kb" |
55 | | - } |
56 | | - ], |
57 | | - "fileReplacements": [ |
58 | | - { |
59 | | - "replace": "src/environments/environment.ts", |
60 | | - "with": "src/environments/environment.prod.ts" |
| 50 | + "maximumWarning": "2kB", |
| 51 | + "maximumError": "4kB" |
61 | 52 | } |
62 | 53 | ], |
63 | 54 | "outputHashing": "all" |
|
66 | 57 | "optimization": false, |
67 | 58 | "extractLicenses": false, |
68 | 59 | "sourceMap": true, |
69 | | - "namedChunks": true |
| 60 | + "fileReplacements": [ |
| 61 | + { |
| 62 | + "replace": "src/environments/environment.ts", |
| 63 | + "with": "src/environments/environment.development.ts" |
| 64 | + } |
| 65 | + ] |
70 | 66 | } |
71 | 67 | }, |
72 | 68 | "defaultConfiguration": "production" |
|
84 | 80 | "defaultConfiguration": "development" |
85 | 81 | }, |
86 | 82 | "extract-i18n": { |
87 | | - "builder": "@angular-devkit/build-angular:extract-i18n", |
88 | | - "options": { |
89 | | - "buildTarget": "client:build" |
90 | | - } |
| 83 | + "builder": "@angular-devkit/build-angular:extract-i18n" |
91 | 84 | }, |
92 | 85 | "test": { |
93 | 86 | "builder": "@angular-devkit/build-angular:karma", |
94 | 87 | "options": { |
95 | | - "main": "src/test.ts", |
96 | | - "polyfills": "src/polyfills.ts", |
| 88 | + "polyfills": ["zone.js", "zone.js/testing"], |
97 | 89 | "tsConfig": "tsconfig.spec.json", |
98 | 90 | "karmaConfig": "karma.conf.js", |
99 | 91 | "inlineStyleLanguage": "scss", |
|
104 | 96 | } |
105 | 97 | ], |
106 | 98 | "styles": [ |
107 | | - "../node_modules/@angular/material/prebuilt-themes/indigo-pink.css", |
| 99 | + "../node_modules/@angular/material/prebuilt-themes/azure-blue.css", |
108 | 100 | "src/styles.scss" |
109 | 101 | ], |
110 | 102 | "scripts": [] |
111 | 103 | } |
112 | 104 | } |
113 | 105 | } |
114 | 106 | } |
115 | | - }, |
116 | | - "cli": { |
117 | | - "analytics": false |
118 | 107 | } |
119 | 108 | } |
0 commit comments