We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd136fd commit eaf8f18Copy full SHA for eaf8f18
1 file changed
src/nitro.ts
@@ -92,11 +92,10 @@ export async function setupNitroBridge () {
92
.map(dir => ({ dir }))
93
],
94
prerender: {
95
- crawlLinks: nuxt.options.generate.crawler,
96
- routes: [
97
- ...nuxt.options.generate.routes || [],
98
- ...nuxt.options.ssr === false ? ['/', '/200', '/404'] : []
99
- ]
+ crawlLinks: nuxt.options._generate ? nuxt.options.generate.crawler : false,
+ routes: []
+ .concat(nuxt.options._generate ? ['/', ...nuxt.options.generate.routes] : [])
+ .concat(nuxt.options.ssr === false ? ['/', '/200', '/404'] : [])
100
},
101
externals: {
102
inline: [
0 commit comments