diff --git a/dist/index.js b/dist/index.js index f93ddee..2d6ff95 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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': diff --git a/src/fixtures/nuxt/blank.expected.js b/src/fixtures/nuxt/blank.expected.js index 8fdc28c..a4b48a8 100644 --- a/src/fixtures/nuxt/blank.expected.js +++ b/src/fixtures/nuxt/blank.expected.js @@ -1,2 +1,2 @@ // Default Pages configuration for Nuxt -export default {server: 'static', router: {base: '/docs/'}} +export default {target: 'static', router: {base: '/docs/'}} diff --git a/src/fixtures/nuxt/default.expected.js b/src/fixtures/nuxt/default.expected.js index 785da28..a7ae19f 100644 --- a/src/fixtures/nuxt/default.expected.js +++ b/src/fixtures/nuxt/default.expected.js @@ -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, diff --git a/src/set-pages-path.js b/src/set-pages-path.js index fb50209..82fefd0 100644 --- a/src/set-pages-path.js +++ b/src/set-pages-path.js @@ -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':