experimental

This commit is contained in:
Yoann Chaudet
2022-07-19 17:15:09 -07:00
parent 3d51fe705a
commit 084dc5123d
4 changed files with 10 additions and 7 deletions

2
dist/index.js vendored
View File

@@ -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':

View File

@@ -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

View File

@@ -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

View File

@@ -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':