diff --git a/packages/core/src/image_performance_warning.ts b/packages/core/src/image_performance_warning.ts index 0409dc5d4b8ac..b749078962794 100644 --- a/packages/core/src/image_performance_warning.ts +++ b/packages/core/src/image_performance_warning.ts @@ -155,12 +155,12 @@ function logLazyLCPWarning(src: string) { console.warn(formatRuntimeError( RuntimeErrorCode.IMAGE_PERFORMANCE_WARNING, `An image with src ${src} is the Largest Contentful Paint (LCP) element ` + - `but was given a "loading" value of "lazy", which can negatively impact` + + `but was given a "loading" value of "lazy", which can negatively impact ` + `application loading performance. This warning can be addressed by ` + `changing the loading value of the LCP image to "eager", or by using the ` + `NgOptimizedImage directive's prioritization utilities. For more ` + `information about addressing or disabling this warning, see ` + - `https://angular.io/errors/NG2965`)); + `https://angular.io/errors/NG0913`)); } function logOversizedImageWarning(src: string) { @@ -169,5 +169,5 @@ function logOversizedImageWarning(src: string) { `An image with src ${src} has intrinsic file dimensions much larger than its ` + `rendered size. This can negatively impact application loading performance. ` + `For more information about addressing or disabling this warning, see ` + - `https://angular.io/errors/NG2965`)); + `https://angular.io/errors/NG0913`)); }