File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -442,7 +442,6 @@ export async function optimizeImage({
442
442
quality : number
443
443
width : number
444
444
height ?: number
445
- nextConfigOutput ?: 'standalone' | 'export'
446
445
} ) : Promise < Buffer > {
447
446
const sharp = getSharp ( )
448
447
const transformer = sharp ( buffer ) . timeout ( { seconds : 7 } ) . rotate ( )
@@ -554,7 +553,6 @@ export async function imageOptimizer(
554
553
'href' | 'width' | 'quality' | 'mimeType'
555
554
> ,
556
555
nextConfig : {
557
- output : NextConfigComplete [ 'output' ]
558
556
images : Pick <
559
557
NextConfigComplete [ 'images' ] ,
560
558
'dangerouslyAllowSVG' | 'minimumCacheTTL'
@@ -626,7 +624,6 @@ export async function imageOptimizer(
626
624
contentType,
627
625
quality,
628
626
width,
629
- nextConfigOutput : nextConfig . output ,
630
627
} )
631
628
if ( optimizedBuffer ) {
632
629
if ( isDev && width <= BLUR_IMG_SIZE && quality === BLUR_QUALITY ) {
You can’t perform that action at this time.
0 commit comments