Skip to content

Commit 3df34a1

Browse files
committed
chore: upgrade to angular v11
1 parent 31a824c commit 3df34a1

File tree

7 files changed

+7993
-4784
lines changed

7 files changed

+7993
-4784
lines changed

Diff for: browserslist renamed to .browserslistrc

File renamed without changes.

Diff for: angular.json

+29-27
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"cli": {
4+
"analytics": false
5+
},
36
"version": 1,
47
"newProjectRoot": "projects",
58
"projects": {
@@ -24,33 +27,32 @@
2427
"scripts": []
2528
},
2629
"configurations": {
27-
"production": {
28-
"fileReplacements": [
29-
{
30-
"replace": "src/environments/environment.ts",
31-
"with": "src/environments/environment.prod.ts"
32-
}
33-
],
34-
"optimization": true,
35-
"outputHashing": "all",
36-
"sourceMap": false,
37-
"extractCss": true,
38-
"namedChunks": false,
39-
"extractLicenses": true,
40-
"vendorChunk": false,
41-
"buildOptimizer": true,
42-
"budgets": [
43-
{
44-
"type": "initial",
45-
"maximumWarning": "2mb",
46-
"maximumError": "5mb"
47-
},
48-
{
49-
"type": "anyComponentStyle",
50-
"maximumWarning": "6kb",
51-
"maximumError": "10kb"
52-
}
53-
]
30+
"production": {
31+
"fileReplacements": [
32+
{
33+
"replace": "src/environments/environment.ts",
34+
"with": "src/environments/environment.prod.ts"
35+
}
36+
],
37+
"optimization": true,
38+
"outputHashing": "all",
39+
"sourceMap": false,
40+
"namedChunks": false,
41+
"extractLicenses": true,
42+
"vendorChunk": false,
43+
"buildOptimizer": true,
44+
"budgets": [
45+
{
46+
"type": "initial",
47+
"maximumWarning": "2mb",
48+
"maximumError": "5mb"
49+
},
50+
{
51+
"type": "anyComponentStyle",
52+
"maximumWarning": "6kb",
53+
"maximumError": "10kb"
54+
}
55+
]
5456
}
5557
}
5658
},

Diff for: e2e/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"compilerOptions": {
44
"outDir": "../out-tsc/e2e",
55
"module": "commonjs",
6-
"target": "es5",
6+
"target": "es2018",
77
"types": [
88
"jasmine",
99
"jasminewd2",

0 commit comments

Comments
 (0)