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
3. Default: `${project}:build:production` if none specified
140
-
141
-
**Note:**`browserTarget` is deliberately HIDDEN from user-facing documentation per deprecation policy, even though it still works internally for backward compatibility.
132
+
2.`buildTarget` - Standard build target (if specified)
- Static build target: `buildTarget || default` (see `src/deploy/builder.ts`)
145
137
- Final target: `prerenderTarget || staticBuildTarget` (see `src/deploy/builder.ts`)
146
138
147
139
Output directory resolution:
@@ -191,20 +183,10 @@ The engine appends CI metadata to commit messages when running on:
191
183
## Deprecated Options (Maintainers Only)
192
184
193
185
**Current deprecated options:**
194
-
-`browserTarget` - Replaced by `buildTarget`, still works for compatibility
195
186
-`noSilent` - Ignored with warning
196
187
197
-
**Policy:** DO NOT promote deprecated options in user-facing docs (README.md). Hide `browserTarget` from precedence explanations and configuration examples.
198
-
199
-
**Schema deprecation format:**
200
-
```json
201
-
"browserTarget": {
202
-
"type": "string",
203
-
"deprecated": true,
204
-
"x-deprecated": "Use buildTarget instead. Kept for backwards compatibility.",
205
-
"description": "DEPRECATED: Use buildTarget instead. Legacy alias kept for backwards compatibility only."
206
-
}
207
-
```
188
+
**Removed options (v2.1+):**
189
+
-`browserTarget` - Removed entirely, use `buildTarget` instead
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -428,7 +428,7 @@ This can be very useful because it outputs what would happen without doing anyth
428
428
429
429
To avoid all these command-line cmd options, you can write down your configuration in the `angular.json` file in the `options` attribute of your deploy project's architect. Just change the kebab-case to lower camel case. Commonly used options in lower camel case (see `src/deploy/schema.json` for the complete list including deprecated options):
430
430
431
-
<!-- deprecated options (browserTarget, noSilent) hidden per deprecation policy -->
431
+
<!-- deprecated options (noSilent) hidden per deprecation policy -->
Copy file name to clipboardExpand all lines: src/deploy/schema.d.ts
-5Lines changed: 0 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -17,11 +17,6 @@ export interface Schema {
17
17
* A named build target, as specified in the `configurations` section of angular.json. Each named target is accompanied by a configuration of option defaults for that target. This is equivalent to calling the command `ng build --configuration=XXX`.
18
18
*/
19
19
buildTarget?: string;
20
-
/**
21
-
* @deprecated
22
-
* DEPRECATED: Use buildTarget instead. Legacy alias kept for backwards compatibility only.
23
-
*/
24
-
browserTarget?: string;
25
20
/**
26
21
* Architect target for prerendering/SSG. Takes precedence over buildTarget when specified. Requires a prerender target configured in angular.json.
0 commit comments