|
11 | 11 | "newProjectRoot": "projects", |
12 | 12 | "projects": { |
13 | 13 | "site": { |
14 | | - "root": "", |
15 | | - "sourceRoot": "src", |
16 | 14 | "projectType": "application", |
17 | | - "prefix": "aio", |
18 | 15 | "schematics": { |
| 16 | + "@schematics/angular:application": { |
| 17 | + "strict": true |
| 18 | + }, |
19 | 19 | "@schematics/angular:component": { |
20 | 20 | "inlineStyle": true, |
21 | 21 | "style": "scss" |
22 | 22 | } |
23 | 23 | }, |
| 24 | + "root": "", |
| 25 | + "sourceRoot": "src", |
| 26 | + "prefix": "aio", |
24 | 27 | "architect": { |
25 | 28 | "build": { |
26 | 29 | "builder": "@angular-devkit/build-angular:browser", |
|
63 | 66 | ], |
64 | 67 | "scripts": [], |
65 | 68 | "budgets": [ |
| 69 | + { |
| 70 | + "type": "initial", |
| 71 | + "maximumWarning": "850kb", |
| 72 | + "maximumError": "1mb" |
| 73 | + }, |
66 | 74 | { |
67 | 75 | "type": "anyComponentStyle", |
68 | | - "maximumWarning": "6kb" |
| 76 | + "maximumWarning": "2kb", |
| 77 | + "maximumError": "4kb" |
69 | 78 | } |
70 | 79 | ] |
71 | 80 | }, |
72 | 81 | "configurations": { |
73 | | - "fast": { |
74 | | - "buildOptimizer": false, |
75 | | - "optimization": false |
76 | | - }, |
77 | 82 | "next": { |
78 | 83 | "fileReplacements": [ |
79 | 84 | { |
|
112 | 117 | }, |
113 | 118 | "ci": { |
114 | 119 | "progress": false |
| 120 | + }, |
| 121 | + "development": { |
| 122 | + "buildOptimizer": false, |
| 123 | + "optimization": false, |
| 124 | + "outputHashing": "none", |
| 125 | + "vendorChunk": true, |
| 126 | + "extractLicenses": false |
115 | 127 | } |
116 | | - } |
| 128 | + }, |
| 129 | + "defaultConfiguration": "stable" |
117 | 130 | }, |
118 | 131 | "serve": { |
119 | 132 | "builder": "@angular-devkit/build-angular:dev-server", |
120 | | - "options": { |
121 | | - "browserTarget": "site:build" |
122 | | - }, |
123 | 133 | "configurations": { |
124 | | - "fast": { |
125 | | - "browserTarget": "site:build:fast" |
126 | | - }, |
127 | 134 | "next": { |
128 | 135 | "browserTarget": "site:build:next" |
129 | 136 | }, |
|
138 | 145 | }, |
139 | 146 | "ci": { |
140 | 147 | "browserTarget": "site:build:ci" |
| 148 | + }, |
| 149 | + "development": { |
| 150 | + "browserTarget": "site:build:development" |
141 | 151 | } |
142 | | - } |
| 152 | + }, |
| 153 | + "defaultConfiguration": "development" |
143 | 154 | }, |
144 | 155 | "extract-i18n": { |
145 | 156 | "builder": "@angular-devkit/build-angular:extract-i18n", |
|
0 commit comments