File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ const generateBlurDataUrl = (
28
28
29
29
export function UploadcareImage ( props : ImageProps ) : JSX . Element {
30
30
let blurDataURL : string | undefined ;
31
+ // TODO: add support for StaticImport, see https://nextjs.org/docs/basic-features/image-optimization#local-images
31
32
if ( typeof props . src === 'string' && shouldOverrideBlurDataUrl ( props ) ) {
32
33
blurDataURL = generateBlurDataUrl ( props . src , props . width ) ;
33
34
}
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import {
21
21
trimTrailingSlash
22
22
} from './helpers' ;
23
23
24
+ // TODO: add support for StaticImport, see https://nextjs.org/docs/basic-features/image-optimization#local-images
24
25
export function uploadcareLoader ( {
25
26
src,
26
27
width,
You can’t perform that action at this time.
0 commit comments