Skip to content

Commit

Permalink
Fix nextjs images.unoptimized config path name
Browse files Browse the repository at this point in the history
`images.unoptimized` is no longer in `experimental` and is stable with NextJS `v12.3.0`.
https://nextjs.org/docs/api-reference/next/image#unoptimized
  • Loading branch information
Kapil Koju authored and GitHub committed Oct 25, 2022
1 parent d875fa8 commit 2094727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/set-pages-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function getConfigParserSettings({ staticSiteGenerator, generatorConfigFile, sit

// Disable server side image optimization too
// https://nextjs.org/docs/api-reference/next/image#unoptimized
'experimental.images.unoptimized': true
'images.unoptimized': true
}
}
case 'gatsby':
Expand Down

0 comments on commit 2094727

Please sign in to comment.