mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
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
14 lines
215 B
JavaScript
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
|