Skip to content

Commit 0630ef8

Browse files
Upgrade to Angular 18
1 parent f121aa4 commit 0630ef8

File tree

7 files changed

+7826
-6843
lines changed

7 files changed

+7826
-6843
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33

44
This repository contains the code of the [Angular Core Deep Dive](https://angular-university.io/course/angular-course).
55

6-
This course repository is updated to Angular 17:
6+
This course repository is updated to Angular 18:
77

88
![Angular Core Deep Dive](https://d3vigmphadbn9b.cloudfront.net/course-images/large-images/angular-core-deep-dive-new-2.jpg)
99

1010
# Installation pre-requisites
1111

12-
IMPORTANT: Please use Node 18 (Long Term Support version).
12+
IMPORTANT: Please use Node 18 LTS (Long Term Support version).
1313

1414
# Installing the Angular CLI
1515

angular.json

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,15 @@
1919
"schematics": {},
2020
"architect": {
2121
"build": {
22-
"builder": "@angular-devkit/build-angular:browser",
22+
"builder": "@angular-devkit/build-angular:application",
2323
"options": {
24-
"outputPath": "dist/angular-course",
24+
"outputPath": {
25+
"base": "dist/angular-course"
26+
},
2527
"index": "src/index.html",
26-
"main": "src/main.ts",
27-
"polyfills": "src/polyfills.ts",
28+
"polyfills": [
29+
"src/polyfills.ts"
30+
],
2831
"tsConfig": "src/tsconfig.app.json",
2932
"assets": [
3033
"src/favicon.ico",
@@ -43,12 +46,11 @@
4346
"inject": true
4447
}
4548
],
46-
"vendorChunk": true,
4749
"extractLicenses": false,
48-
"buildOptimizer": false,
4950
"sourceMap": true,
5051
"optimization": false,
51-
"namedChunks": true
52+
"namedChunks": true,
53+
"browser": "src/main.ts"
5254
},
5355
"configurations": {
5456
"production": {
@@ -68,9 +70,7 @@
6870
"outputHashing": "all",
6971
"sourceMap": false,
7072
"namedChunks": false,
71-
"extractLicenses": true,
72-
"vendorChunk": false,
73-
"buildOptimizer": true
73+
"extractLicenses": true
7474
},
7575
"fr": {
7676
"budgets": [
@@ -79,7 +79,9 @@
7979
"maximumWarning": "6kb"
8080
}
8181
],
82-
"outputPath": "dist/angular-course-fr/",
82+
"outputPath": {
83+
"base": "dist/angular-course-fr/"
84+
},
8385
"i18nFile": "src/locale/messages.fr.xlf",
8486
"i18nLocale": "fr",
8587
"i18nMissingTranslation": "ignore"

0 commit comments

Comments
 (0)