Open sas-news opened 3 months ago
Latest commit: 3cb480c7a93536664b7baa5ce907a3328f046a08
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Name | Link |
---|---|
Latest commit | 7495ca845fd46bb7eca24fc4e5adcb5a981995e5 |
Latest deploy log | https://app.netlify.com/sites/astro-embed/deploys/660dfd8370486d0008de8d01 |
Deploy Preview | https://deploy-preview-111--astro-embed.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Correction of image optimization process
LinkPreview
component, use Image
component for image optimizationYouTube
and Vimeo
components, use getImage()
for image optimizationimage.domains
in astro.config.mjs
downloadPoster
prop as it is no longer neededThis allows local images to work correctly out of the box, while still providing the ability to opt-in to optimization for approved remote domains. LinkPreview
component now benefits from the built-in optimization capabilities using astro:assets
, while YouTube
and Vimeo
components use getImage()
for optimization.
Add a
downloadPoster
prop to YouTube and Vimeo and LinkPreview components. Download images at build time, usinggetImage()
.