Skip to content

Commit d2617a0

Browse files
committed
refactor(@schematics/angular): remove unneeded extract-i18n buildTarget option for new applications
The `buildTarget` option for the `extract-18n` builder will automatically default to use the `build` target of the containing project. This removes the need for projects to manually configure the target. New projects will now be generated without this option in the `angular.json` file. (cherry picked from commit b0ec254)
1 parent 7e13bf9 commit d2617a0

File tree

1 file changed

+0
-3
lines changed
  • packages/schematics/angular/application

1 file changed

+0
-3
lines changed

packages/schematics/angular/application/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,6 @@ function addAppToWorkspaceFile(
273273
},
274274
'extract-i18n': {
275275
builder: Builders.ExtractI18n,
276-
options: {
277-
buildTarget: `${options.name}:build`,
278-
},
279276
},
280277
test: options.minimal
281278
? undefined

0 commit comments

Comments
 (0)