Skip to content

Commit b82c3cf

Browse files
committed
upgrade to Angular 10
1 parent 875d6ca commit b82c3cf

File tree

6 files changed

+10694
-5528
lines changed

6 files changed

+10694
-5528
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
This repository contains the code of the [Angular PWA Course - Build the future of the Web Today](https://angular-university.io/course/angular-pwa-course).
55

6-
This course repository is updated to Angular 9, and there is a package-lock.json file available, for avoiding semantic versioning installation issues.
6+
This course repository is updated to Angular 10, and there is a package-lock.json file available, for avoiding semantic versioning installation issues.
77

88
![Angular PWA Course - Build the future of the Web Today](https://s3-us-west-1.amazonaws.com/angular-university/course-images/angular-pwa-course.png)
99

angular.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"build": {
1212
"builder": "@angular-devkit/build-angular:browser",
1313
"options": {
14+
"aot": true,
1415
"outputPath": "dist",
1516
"index": "src/index.html",
1617
"main": "src/main.ts",
@@ -28,6 +29,12 @@
2829
},
2930
"configurations": {
3031
"production": {
32+
"budgets": [
33+
{
34+
"type": "anyComponentStyle",
35+
"maximumWarning": "6kb"
36+
}
37+
],
3138
"optimization": true,
3239
"outputHashing": "all",
3340
"sourceMap": false,
@@ -131,7 +138,7 @@
131138
"schematics": {
132139
"@schematics/angular:component": {
133140
"prefix": "",
134-
"styleext": "css"
141+
"style": "css"
135142
},
136143
"@schematics/angular:directive": {
137144
"prefix": ""

0 commit comments

Comments
 (0)