Skip to content

Commit 2b2712d

Browse files
[SDK-3649] Upgrade to compile using Angular 12 (#734)
1 parent 81964eb commit 2b2712d

16 files changed

+28931
-13526
lines changed

angular.json

+10-6
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"build": {
1818
"builder": "@angular-devkit/build-angular:browser",
1919
"options": {
20-
"aot": true,
2120
"outputPath": "dist/angular2-jwt",
2221
"index": "src/index.html",
2322
"main": "src/main.ts",
@@ -30,7 +29,13 @@
3029
"styles": [
3130
"src/styles.scss"
3231
],
33-
"scripts": []
32+
"scripts": [],
33+
"vendorChunk": true,
34+
"extractLicenses": false,
35+
"buildOptimizer": false,
36+
"sourceMap": true,
37+
"optimization": false,
38+
"namedChunks": true
3439
},
3540
"configurations": {
3641
"production": {
@@ -43,9 +48,7 @@
4348
"optimization": true,
4449
"outputHashing": "all",
4550
"sourceMap": false,
46-
"extractCss": true,
4751
"namedChunks": false,
48-
"aot": true,
4952
"extractLicenses": true,
5053
"vendorChunk": false,
5154
"buildOptimizer": true,
@@ -61,7 +64,8 @@
6164
}
6265
]
6366
}
64-
}
67+
},
68+
"defaultConfiguration": ""
6569
},
6670
"serve": {
6771
"builder": "@angular-devkit/build-angular:dev-server",
@@ -146,7 +150,7 @@
146150
"prefix": "",
147151
"architect": {
148152
"build": {
149-
"builder": "@angular-devkit/build-ng-packagr:build",
153+
"builder": "@angular-devkit/build-angular:ng-packagr",
150154
"options": {
151155
"tsConfig": "projects/angular-jwt/tsconfig.lib.json",
152156
"project": "projects/angular-jwt/ng-package.json"

e2e/tsconfig.e2e.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../tsconfig.base.json",
2+
"extends": "../tsconfig.json",
33
"compilerOptions": {
44
"outDir": "../out-tsc/app",
55
"module": "commonjs",

0 commit comments

Comments
 (0)