1
0
mirror of https://github.com/angular/angular-cli.git synced 2025-05-25 00:31:36 +08:00

feat(@angular-devkit/build-angular): add progress option to xi18n

Add progress option to xi18n. It is passed to the webpack builder.

Fixes .
This commit is contained in:
Hans Larsen 2018-09-27 11:34:50 -04:00 committed by Hans
parent ae4dc05319
commit 7ff1e1a33e
2 changed files with 7 additions and 0 deletions
packages/angular_devkit/build_angular/src/extract-i18n

@ -38,6 +38,7 @@ export interface ExtractI18nBuilderOptions {
i18nLocale: string;
outputPath?: string;
outFile?: string;
progress?: boolean;
}
export class ExtractI18nBuilder implements Builder<ExtractI18nBuilderOptions> {
@ -92,6 +93,7 @@ export class ExtractI18nBuilder implements Builder<ExtractI18nBuilderOptions> {
i18nFormat: options.i18nFormat,
i18nFile: outFile,
aot: true,
progress: options.progress,
assets: [],
scripts: [],
styles: [],

@ -24,6 +24,11 @@
"type": "string",
"description": "Specifies the source language of the application."
},
"progress": {
"type": "boolean",
"description": "Log progress to the console.",
"default": true
},
"outputPath": {
"type": "string",
"description": "Path where output will be placed."