Skip to content

Commit

Permalink
Merge pull request #37 from actions/merge-pr-33
Browse files Browse the repository at this point in the history
Merge PR #33
  • Loading branch information
James M. Greene authored and GitHub committed Nov 18, 2022
2 parents c917d1c + 51323db commit b0c19d0
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 4 deletions.
4 changes: 3 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15647,7 +15647,9 @@ function getConfigParserSettings({ staticSiteGenerator, generatorConfigFile, sit

// Disable server side image optimization too
// https://nextjs.org/docs/api-reference/next/image#unoptimized
'experimental.images.unoptimized': true
'experimental.images.unoptimized': true,
// No longer experimental as of Next.js v12.3.0
'images.unoptimized': true
}
}
case 'gatsby':
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/fixtures/next/blank.expected.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// Default Pages configuration for Next
const nextConfig = { experimental: { images: { unoptimized: true } }, basePath: '/docs' }
const nextConfig = { images: { unoptimized: true }, experimental: { images: { unoptimized: true } }, basePath: '/docs' }
module.exports = nextConfig
1 change: 1 addition & 0 deletions src/fixtures/next/default.expected.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
images: { unoptimized: true },
experimental: { images: { unoptimized: true } },
basePath: '/docs',
reactStrictMode: true,
Expand Down
1 change: 1 addition & 0 deletions src/fixtures/next/default.expected.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
images: { unoptimized: true },
experimental: { images: { unoptimized: true } },
basePath: '/docs',
reactStrictMode: true,
Expand Down
1 change: 1 addition & 0 deletions src/fixtures/next/default.expected.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
images: { unoptimized: true },
experimental: { images: { unoptimized: true } },
basePath: '/docs',
reactStrictMode: true,
Expand Down
4 changes: 3 additions & 1 deletion src/set-pages-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ function getConfigParserSettings({ staticSiteGenerator, generatorConfigFile, sit

// Disable server side image optimization too
// https://nextjs.org/docs/api-reference/next/image#unoptimized
'experimental.images.unoptimized': true
'experimental.images.unoptimized': true,
// No longer experimental as of Next.js v12.3.0
'images.unoptimized': true
}
}
case 'gatsby':
Expand Down

0 comments on commit b0c19d0

Please sign in to comment.