Skip to content

Commit a0db191

Browse files
rayroshansl
authored andcommitted
fix(@ngtools/webpack): fix error in compiler CLI when i18nFormat is undefined. (#6617)
1 parent b989e80 commit a0db191

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@ngtools/webpack/src/extract_i18n_plugin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export class ExtractI18nPlugin implements Tapable {
175175
program: this._program,
176176
host: this._compilerHost,
177177
angularCompilerOptions: this._angularCompilerOptions,
178-
i18nFormat: this._i18nFormat,
178+
i18nFormat: this._i18nFormat || '',
179179
locale: this._locale,
180180
outFile: this._outFile,
181181

0 commit comments

Comments
 (0)