|
10 | 10 | "prefix": "app", |
11 | 11 | "architect": { |
12 | 12 | "build": { |
13 | | - "builder": "@angular-devkit/build-angular:application", |
| 13 | + "builder": "@angular/build:application", |
14 | 14 | "options": { |
15 | 15 | "outputPath": "dist/angular-ssr", |
16 | 16 | "index": "src/index.html", |
|
26 | 26 | "styles": ["src/styles.css"], |
27 | 27 | "scripts": [], |
28 | 28 | "server": "src/main.server.ts", |
29 | | - "prerender": true, |
| 29 | + "prerender": false, |
30 | 30 | "ssr": { |
31 | 31 | "entry": "src/server.ts" |
32 | 32 | } |
|
36 | 36 | "budgets": [ |
37 | 37 | { |
38 | 38 | "type": "initial", |
39 | | - "maximumWarning": "500kB", |
40 | | - "maximumError": "1MB" |
| 39 | + "maximumWarning": "1MB", |
| 40 | + "maximumError": "2MB" |
41 | 41 | }, |
42 | 42 | { |
43 | 43 | "type": "anyComponentStyle", |
|
56 | 56 | "defaultConfiguration": "production" |
57 | 57 | }, |
58 | 58 | "serve": { |
59 | | - "builder": "@angular-devkit/build-angular:dev-server", |
| 59 | + "builder": "@angular/build:dev-server", |
60 | 60 | "configurations": { |
61 | 61 | "production": { |
62 | 62 | "buildTarget": "angular-ssr:build:production" |
|
68 | 68 | "defaultConfiguration": "development" |
69 | 69 | }, |
70 | 70 | "extract-i18n": { |
71 | | - "builder": "@angular-devkit/build-angular:extract-i18n" |
| 71 | + "builder": "@angular/build:extract-i18n" |
72 | 72 | }, |
73 | 73 | "test": { |
74 | | - "builder": "@angular-devkit/build-angular:karma", |
| 74 | + "builder": "@angular/build:karma", |
75 | 75 | "options": { |
76 | 76 | "polyfills": ["zone.js", "zone.js/testing"], |
77 | 77 | "tsConfig": "tsconfig.spec.json", |
|
94 | 94 | "prefix": "lib", |
95 | 95 | "architect": { |
96 | 96 | "build": { |
97 | | - "builder": "@angular-devkit/build-angular:ng-packagr", |
| 97 | + "builder": "@angular/build:ng-packagr", |
98 | 98 | "options": { |
99 | 99 | "project": "projects/angular/ng-package.json" |
100 | 100 | }, |
|
109 | 109 | "defaultConfiguration": "production" |
110 | 110 | }, |
111 | 111 | "test": { |
112 | | - "builder": "@angular-devkit/build-angular:karma", |
| 112 | + "builder": "@angular/build:karma", |
113 | 113 | "options": { |
114 | 114 | "tsConfig": "projects/angular/tsconfig.spec.json", |
115 | 115 | "polyfills": ["zone.js", "zone.js/testing"] |
|
120 | 120 | }, |
121 | 121 | "cli": { |
122 | 122 | "analytics": false |
| 123 | + }, |
| 124 | + "schematics": { |
| 125 | + "@schematics/angular:component": { |
| 126 | + "type": "component" |
| 127 | + }, |
| 128 | + "@schematics/angular:directive": { |
| 129 | + "type": "directive" |
| 130 | + }, |
| 131 | + "@schematics/angular:service": { |
| 132 | + "type": "service" |
| 133 | + }, |
| 134 | + "@schematics/angular:guard": { |
| 135 | + "typeSeparator": "." |
| 136 | + }, |
| 137 | + "@schematics/angular:interceptor": { |
| 138 | + "typeSeparator": "." |
| 139 | + }, |
| 140 | + "@schematics/angular:module": { |
| 141 | + "typeSeparator": "." |
| 142 | + }, |
| 143 | + "@schematics/angular:pipe": { |
| 144 | + "typeSeparator": "." |
| 145 | + }, |
| 146 | + "@schematics/angular:resolver": { |
| 147 | + "typeSeparator": "." |
| 148 | + } |
123 | 149 | } |
124 | 150 | } |
0 commit comments