mirror of
https://github.com/actions/configure-pages.git
synced 2025-12-08 16:16:09 +00:00
fix next
This commit is contained in:
5
dist/index.js
vendored
5
dist/index.js
vendored
@@ -14831,6 +14831,11 @@ function getConfigParserSettings(staticSiteGenerator, path) {
|
||||
blankConfigurationFile: __nccwpck_require__.ab + "nuxt.js"
|
||||
}
|
||||
case 'next':
|
||||
// Next does not want a trailing slash
|
||||
if (path.endsWith('/')) {
|
||||
path = path.slice(0, -1)
|
||||
}
|
||||
|
||||
return {
|
||||
configurationFile: './next.config.js',
|
||||
propertyName: 'basePath',
|
||||
|
||||
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