Skip to content

Commit

Permalink
Add back experimental.images.unoptimized for old NextJS
Browse files Browse the repository at this point in the history
  • Loading branch information
Kapil Koju authored and GitHub committed Oct 25, 2022
1 parent 2094727 commit 5cb7781
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/set-pages-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +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
}
}
Expand Down

0 comments on commit 5cb7781

Please sign in to comment.