Skip to content

Commit 3c4b0fa

Browse files
Merge pull request #170 from jeroenheijmans/angular-19-upgrade
Angular 19 upgrade
2 parents 69f2227 + d7f9209 commit 3c4b0fa

14 files changed

+7951
-16962
lines changed

.eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"plugin:@angular-eslint/template/process-inline-templates"
2121
],
2222
"rules": {
23+
"@angular-eslint/prefer-standalone": "off",
2324
"@angular-eslint/directive-selector": [
2425
"error",
2526
{

angular.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,15 @@
1111
"schematics": {},
1212
"architect": {
1313
"build": {
14-
"builder": "@angular-devkit/build-angular:browser",
14+
"builder": "@angular/build:application",
1515
"options": {
16-
"outputPath": "dist/sample-auth-guards",
16+
"outputPath": {
17+
"base": "dist/sample-auth-guards"
18+
},
1719
"index": "src/index.html",
18-
"main": "src/main.ts",
19-
"polyfills": "src/polyfills.ts",
20+
"polyfills": [
21+
"src/polyfills.ts"
22+
],
2023
"tsConfig": "src/tsconfig.app.json",
2124
"assets": [
2225
"src/favicon.ico",
@@ -27,12 +30,11 @@
2730
"src/styles.css"
2831
],
2932
"scripts": [],
30-
"vendorChunk": true,
3133
"extractLicenses": false,
32-
"buildOptimizer": false,
3334
"sourceMap": true,
3435
"optimization": false,
35-
"namedChunks": true
36+
"namedChunks": true,
37+
"browser": "src/main.ts"
3638
},
3739
"configurations": {
3840
"production": {
@@ -57,9 +59,7 @@
5759
"outputHashing": "all"
5860
},
5961
"development": {
60-
"buildOptimizer": false,
6162
"optimization": false,
62-
"vendorChunk": true,
6363
"extractLicenses": false,
6464
"sourceMap": true,
6565
"namedChunks": true
@@ -68,7 +68,7 @@
6868
"defaultConfiguration": "production"
6969
},
7070
"serve": {
71-
"builder": "@angular-devkit/build-angular:dev-server",
71+
"builder": "@angular/build:dev-server",
7272
"options": {
7373
"ssl": true,
7474
"sslKey": "ssl/localhost.key",
@@ -86,7 +86,7 @@
8686
"defaultConfiguration": "development"
8787
},
8888
"extract-i18n": {
89-
"builder": "@angular-devkit/build-angular:extract-i18n",
89+
"builder": "@angular/build:extract-i18n",
9090
"options": {
9191
"buildTarget": "sample-auth-guards:build"
9292
}

0 commit comments

Comments
 (0)