Skip to content

Commit 93efad1

Browse files
Upgrade to Angular 18
1 parent 541da42 commit 93efad1

File tree

8 files changed

+15108
-14108
lines changed

8 files changed

+15108
-14108
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 course [Angular Router In Depth](https://angular-university.io/course/angular-router-course).
55

6-
This course repository is updated to Angular v17.
6+
This course repository is updated to Angular v18.
77

88
![Angular Router In Depth](https://angular-university.s3-us-west-1.amazonaws.com/course-images/angular-router-course.jpg)
99

angular.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,16 @@
99
"projectType": "application",
1010
"architect": {
1111
"build": {
12-
"builder": "@angular-devkit/build-angular:browser",
12+
"builder": "@angular-devkit/build-angular:application",
1313
"options": {
14-
"outputPath": "dist",
14+
"outputPath": {
15+
"base": "dist"
16+
},
1517
"index": "src/index.html",
16-
"main": "src/main.ts",
1718
"tsConfig": "src/tsconfig.app.json",
18-
"polyfills": "src/polyfills.ts",
19+
"polyfills": [
20+
"src/polyfills.ts"
21+
],
1922
"assets": [
2023
"src/assets",
2124
"src/favicon.ico"
@@ -24,12 +27,11 @@
2427
"src/styles.scss"
2528
],
2629
"scripts": [],
27-
"vendorChunk": true,
2830
"extractLicenses": false,
29-
"buildOptimizer": false,
3031
"sourceMap": true,
3132
"optimization": false,
32-
"namedChunks": true
33+
"namedChunks": true,
34+
"browser": "src/main.ts"
3335
},
3436
"configurations": {
3537
"production": {
@@ -44,8 +46,6 @@
4446
"sourceMap": false,
4547
"namedChunks": false,
4648
"extractLicenses": true,
47-
"vendorChunk": false,
48-
"buildOptimizer": true,
4949
"fileReplacements": [
5050
{
5151
"replace": "src/environments/environment.ts",

0 commit comments

Comments
 (0)