Skip to content

Commit 7ff1e1a

Browse files
committed
feat(@angular-devkit/build-angular): add progress option to xi18n
Add progress option to xi18n. It is passed to the webpack builder. Fixes #11667.
1 parent ae4dc05 commit 7ff1e1a

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

packages/angular_devkit/build_angular/src/extract-i18n/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export interface ExtractI18nBuilderOptions {
3838
i18nLocale: string;
3939
outputPath?: string;
4040
outFile?: string;
41+
progress?: boolean;
4142
}
4243

4344
export class ExtractI18nBuilder implements Builder<ExtractI18nBuilderOptions> {
@@ -92,6 +93,7 @@ export class ExtractI18nBuilder implements Builder<ExtractI18nBuilderOptions> {
9293
i18nFormat: options.i18nFormat,
9394
i18nFile: outFile,
9495
aot: true,
96+
progress: options.progress,
9597
assets: [],
9698
scripts: [],
9799
styles: [],

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

+5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@
2424
"type": "string",
2525
"description": "Specifies the source language of the application."
2626
},
27+
"progress": {
28+
"type": "boolean",
29+
"description": "Log progress to the console.",
30+
"default": true
31+
},
2732
"outputPath": {
2833
"type": "string",
2934
"description": "Path where output will be placed."

0 commit comments

Comments
 (0)