Skip to content

Commit 4f8284c

Browse files
committed
Update to Angular 12
1 parent 6f2b68e commit 4f8284c

File tree

5 files changed

+22711
-28073
lines changed

5 files changed

+22711
-28073
lines changed

angular.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
"polyfills": "projects/train-platform/src/polyfills.ts",
1919
"tsConfig": "projects/train-platform/tsconfig.app.json",
2020
"aot": true,
21+
"vendorChunk": true,
22+
"extractLicenses": false,
23+
"optimization": false,
2124
"assets": [
2225
"projects/train-platform/src/favicon.ico",
2326
"projects/train-platform/src/assets"
@@ -33,7 +36,14 @@
3336
"with": "projects/train-platform/src/environments/environment.prod.ts"
3437
}
3538
],
36-
"optimization": true,
39+
"optimization": {
40+
"scripts": true,
41+
"styles": {
42+
"minify": true,
43+
"inlineCritical": false
44+
},
45+
"fonts": false
46+
},
3747
"outputHashing": "all",
3848
"sourceMap": false,
3949
"namedChunks": false,

0 commit comments

Comments
 (0)