From 34f83e3742c518703d83b5da805e329140e2874d Mon Sep 17 00:00:00 2001 From: Charles Lyding <19598772+clydin@users.noreply.github.com> Date: Wed, 22 Oct 2025 11:34:45 -0400 Subject: [PATCH] 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. --- packages/schematics/angular/application/index.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/schematics/angular/application/index.ts b/packages/schematics/angular/application/index.ts index 1a446e1df73f..38d1f8b0ffd3 100644 --- a/packages/schematics/angular/application/index.ts +++ b/packages/schematics/angular/application/index.ts @@ -327,9 +327,6 @@ function addAppToWorkspaceFile(options: ApplicationOptions, appDir: string): Rul }, }, }, - 'extract-i18n': { - builder: Builders.BuildExtractI18n, - }, test: options.minimal ? undefined : {