Skip to content

Commit

Permalink
experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoann Chaudet committed Jul 20, 2022
1 parent 3d51fe7 commit 084dc51
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14850,7 +14850,7 @@ function getConfigParserSettings(staticSiteGenerator, path) {
blankConfigurationFile: __nccwpck_require__.ab + "next.js",
properties: {
basePath: path,
'images.unoptimized': true
'experimental.images.unoptimized': true
}
}
case 'gatsby':
Expand Down
5 changes: 4 additions & 1 deletion src/fixtures/next/blank.expected.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Default Pages configuration for Next
const nextConfig = {images: {unoptimized: true}, basePath: '/docs'}
const nextConfig = {
experimental: {images: {unoptimized: true}},
basePath: '/docs'
}
module.exports = nextConfig
8 changes: 4 additions & 4 deletions src/fixtures/next/default.expected.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {unoptimized: true},
basePath: "/docs",
experimental: {images: {unoptimized: true}},
basePath: '/docs',
reactStrictMode: true,
swcMinify: true,
swcMinify: true
}

module.exports = nextConfig
module.exports = nextConfig
2 changes: 1 addition & 1 deletion src/set-pages-path.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function getConfigParserSettings(staticSiteGenerator, path) {
blankConfigurationFile: `${__dirname}/blank-configurations/next.js`,
properties: {
basePath: path,
'images.unoptimized': true
'experimental.images.unoptimized': true
}
}
case 'gatsby':
Expand Down

0 comments on commit 084dc51

Please sign in to comment.