Files
StevenandGitHub d70595e5b6 feat(next/image): add support for images.qualities in next.config (#74257)
This PR adds support for `images.qualities` configuration which is an
allowlist of qualities that can be used with the quality prop on the
Image component.

- Depends on https://github.com/vercel/vercel/pull/12792
2025-01-03 20:43:29 +00:00

14 lines
215 B
JavaScript

import Image from 'next/image'
import src from '../images/test.png'
const Page = () => {
return (
<main>
<Image alt="q-100" id="q-100" quality={100} src={src} />
</main>
)
}
export default Page