Skip to content

Commit b6812f7

Browse files
rahulbhooteshwarclydin
authored andcommitted
feat(@ngtools/webpack): prevent build failure in case of custom locale,review changes
1 parent a1683f8 commit b6812f7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

-1
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,6 @@ 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-
Proceeding with default locale data registration i.e. 'en'.
10721071
If needed, localeData can be registered against custom locale in application module.`);
10731072
return null;
10741073
}

0 commit comments

Comments
 (0)