Skip to content

Commit 9ac1b36

Browse files
rahulbhooteshwarclydin
authored andcommitted
feat(@ngtools/webpack): prevent build failure in case of custom locale, update warning text
1 parent 0f4e38f commit 9ac1b36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ export class AngularCompilerPlugin {
10681068
this._warnings.push(`AngularCompilerPlugin: Unable to load the locale data file ` +
10691069
`"@angular/common/locales/${locale}", ` +
10701070
`please check that "${locale}" is a valid locale id.
1071-
If needed, localeData can be registered against custom locale in application module.`);
1071+
If needed, you can use "registerLocaleData" manually.`);
10721072
return null;
10731073
}
10741074
}

0 commit comments

Comments
 (0)