@angular-devkit/build-angular
Version:
Angular Webpack Build Facade
54 lines (53 loc) • 1.15 kB
TypeScript
/**
* Extract i18n target options for Build Facade.
*/
export interface Schema {
/**
* Target to extract from.
*/
browserTarget: string;
/**
* Output format for the generated file.
*/
format?: Format;
/**
* Output format for the generated file.
* @deprecated Use 'format' option instead.
*/
i18nFormat?: Format;
/**
* Specifies the source language of the application.
* @deprecated Use 'i18n' project level sub-option 'sourceLocale' instead.
*/
i18nLocale?: string;
/**
* Use Ivy compiler to extract translations.
*/
ivy?: boolean;
/**
* Name of the file to output.
*/
outFile?: string;
/**
* Path where output will be placed.
*/
outputPath?: string;
/**
* Log progress to the console.
*/
progress?: boolean;
}
/**
* Output format for the generated file.
*
* Output format for the generated file.
* @deprecated Use 'format' option instead.
*/
export declare enum Format {
Xlf = "xlf",
Xlf2 = "xlf2",
Xlif = "xlif",
Xliff = "xliff",
Xliff2 = "xliff2",
Xmb = "xmb"
}