Skip to content

Commit

Permalink
target not server
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoann Chaudet committed Jul 20, 2022
1 parent 844ceaf commit 7875e4a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14842,7 +14842,7 @@ function getConfigParserSettings(staticSiteGenerator, path) {

// Set the target to static too
// https://nuxtjs.org/docs/configuration-glossary/configuration-target/
server: 'static'
target: 'static'
}
}
case 'next':
Expand Down
2 changes: 1 addition & 1 deletion src/fixtures/nuxt/blank.expected.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// Default Pages configuration for Nuxt
export default {server: 'static', router: {base: '/docs/'}}
export default {target: 'static', router: {base: '/docs/'}}
2 changes: 1 addition & 1 deletion src/fixtures/nuxt/default.expected.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
// Disable server-side rendering: https://go.nuxtjs.dev/ssr-mode
server: 'static',
target: 'static',
router: { base: "/docs/" },
ssr: false,

Expand Down
2 changes: 1 addition & 1 deletion src/set-pages-path.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function getConfigParserSettings(staticSiteGenerator, path) {

// Set the target to static too
// https://nuxtjs.org/docs/configuration-glossary/configuration-target/
server: 'static'
target: 'static'
}
}
case 'next':
Expand Down

0 comments on commit 7875e4a

Please sign in to comment.