Skip to content

Commit 7e13bf9

Browse files
committed
refactor(@angular-devkit/build-angular): extract-18n buildTarget option is no longer required
The `extract-i18n` option schema has been updated to reflect that the `buildTarget` option is not required. The option value will default to the `build` target of the containing project. This removes the need for an additional option and character count within the `angular.json` file for the project. This change also applies to the deprecated `browserTarget` option. (cherry picked from commit 4d679a8)
1 parent b858647 commit 7e13bf9

File tree

1 file changed

+1
-2
lines changed
  • packages/angular_devkit/build_angular/src/builders/extract-i18n

1 file changed

+1
-2
lines changed

packages/angular_devkit/build_angular/src/builders/extract-i18n/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,5 @@
3535
"description": "Name of the file to output."
3636
}
3737
},
38-
"additionalProperties": false,
39-
"anyOf": [{ "required": ["buildTarget"] }, { "required": ["browserTarget"] }]
38+
"additionalProperties": false
4039
}

0 commit comments

Comments
 (0)