You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/migration/2211_35/modernize-apps-migrated-from-6.8-to-2211.19.md
+15-13
Original file line number
Diff line number
Diff line change
@@ -31,17 +31,7 @@ Why: we're configuring here the new `application` builder for Angular v17 and la
31
31
32
32
1. In the section `architect > build > options` please apply the all the following modifications, to adapt to the new configuration format for the new builder:
33
33
34
-
2.1 In the property `"outputPath"` please remove the ending `"/browser"` from the string value.
35
-
36
-
```diff
37
-
"architect": {
38
-
"build": {
39
-
"options": {
40
-
- "outputPath": "dist/YOUR-APP-NAME/browser",
41
-
+ "outputPath": "dist/YOUR-APP-NAME",
42
-
```
43
-
44
-
2.2 rename the property `"main"` to `"browser"`
34
+
2.1 rename the property `"main"` to `"browser"`
45
35
46
36
```diff
47
37
"architect": {
@@ -52,7 +42,7 @@ Why: we're configuring here the new `application` builder for Angular v17 and la
52
42
```
53
43
54
44
55
-
2.3. In the section `architect > build > configurations > development` please remove 3 properties: `"buildOptimizer"`, `"vendorChunk"`, `"namedChunks"`
45
+
2.2. In the section `architect > build > configurations > development` please remove 3 properties: `"buildOptimizer"`, `"vendorChunk"`, `"namedChunks"`
56
46
57
47
```diff
58
48
"architect": {
@@ -85,7 +75,19 @@ In the `"compilerOptions"` section, please:
85
75
86
76
### `angular.json`
87
77
88
-
1. In the section `architect > build > options` please add 3 new options with values: `"server": "src/main.server.ts"`, `"prerender": false`, `"ssr": { "entry": "server.ts" }`
78
+
1. In the section `architect > build > options` please apply all the following modifications:
79
+
80
+
1.1 In the property `"outputPath"` please remove the ending `"/browser"` from the string value.
81
+
82
+
```diff
83
+
"architect": {
84
+
"build": {
85
+
"options": {
86
+
- "outputPath": "dist/YOUR-APP-NAME/browser",
87
+
+ "outputPath": "dist/YOUR-APP-NAME",
88
+
```
89
+
90
+
1.2 Please add 3 new options with values: `"server": "src/main.server.ts"`, `"prerender": false`, `"ssr": { "entry": "server.ts" }`
0 commit comments