Skip to content

Commit b524ba4

Browse files
committed
fix(@schematics/angular): remove empty i18n-extract target for new projects
The Angular CLI will default to using the correct builder for i18n extraction if the target definition is not present in a project. This allows for a reduced amount of preset configuration for new projects. The `i18n-extract` is only needed when using the `@angular/localize` project and can be added when it is used. Most options for the target are also command line oriented which makes the target definition unused in many cases.
1 parent 220961f commit b524ba4

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
@@ -327,9 +327,6 @@ function addAppToWorkspaceFile(options: ApplicationOptions, appDir: string): Rul
327327
},
328328
},
329329
},
330-
'extract-i18n': {
331-
builder: Builders.BuildExtractI18n,
332-
},
333330
test: options.minimal
334331
? undefined
335332
: {

0 commit comments

Comments
 (0)