fix(common): warn if using supported CDN but not built-in loader#47330
fix(common): warn if using supported CDN but not built-in loader#47330kara wants to merge 1 commit intoangular:mainfrom
Conversation
packages/common/src/directives/ng_optimized_image/ng_optimized_image.ts
Outdated
Show resolved
Hide resolved
pkozlowski-opensource
left a comment
There was a problem hiding this comment.
As @AndrewKushnir indicated, I would also see this logic going into the noop image loader.
b9f5639 to
566f6c3
Compare
AndrewKushnir
left a comment
There was a problem hiding this comment.
Looks great, thanks @kara 👍
This commit adds a missing warning if the image directive detects that you're hosting your image on one of our supported image CDNs but you're not using the built-in loader for it. This excludes applications that are using a custom loader.
AndrewKushnir
left a comment
There was a problem hiding this comment.
Reviewed-for: public-api
|
Caretaker note (@dylhunn): this PR is ready for merge except for one more |
dylhunn
left a comment
There was a problem hiding this comment.
reviewed-for: public-api
|
This PR was merged into the repository by commit ce5880f. |
) This commit adds a missing warning if the image directive detects that you're hosting your image on one of our supported image CDNs but you're not using the built-in loader for it. This excludes applications that are using a custom loader. PR Close #47330
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
…ular#47330) This commit adds a missing warning if the image directive detects that you're hosting your image on one of our supported image CDNs but you're not using the built-in loader for it. This excludes applications that are using a custom loader. PR Close angular#47330
This commit adds a console warning if the image directive
detects that you're hosting your image on one of our
supported image CDNs but you're not using the built-in loader
for it. This excludes applications that are using a custom
loader.
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?