mirror of
https://github.com/actions/configure-pages.git
synced 2025-12-08 08:06:09 +00:00
Update the Next.js configuration for v14
This commit is contained in:
7
dist/index.js
vendored
7
dist/index.js
vendored
@@ -16990,13 +16990,16 @@ function getConfigParserSettings({ staticSiteGenerator, generatorConfigFile, sit
|
||||
configurationFile: generatorConfigFile || './next.config.js',
|
||||
blankConfigurationFile: __nccwpck_require__.ab + "next.js",
|
||||
properties: {
|
||||
// Static export
|
||||
// https://nextjs.org/docs/app/building-your-application/deploying/static-exports#version-history
|
||||
output: 'export',
|
||||
|
||||
// Configure a base path
|
||||
// https://nextjs.org/docs/app/api-reference/next-config-js/basePath
|
||||
basePath: path,
|
||||
|
||||
// Disable server side image optimization too
|
||||
// https://nextjs.org/docs/api-reference/next/image#unoptimized
|
||||
'experimental.images.unoptimized': true,
|
||||
// No longer experimental as of Next.js v12.3.0
|
||||
'images.unoptimized': true
|
||||
}
|
||||
}
|
||||
|
||||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user