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 #11667.
This commit is contained in:
parent
ae4dc05319
commit
7ff1e1a33e
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."
|
||||
|
Loading…
x
Reference in New Issue
Block a user