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.
nitro.static
_generate
1 parent 1b72db3 commit 7c7c525Copy full SHA for 7c7c525
src/module.ts
@@ -160,7 +160,8 @@ export default defineNuxtModule<ModuleOptions>({
160
}),
161
])
162
163
- if (nuxt.options._generate) {
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
164
+ if (nuxt.options.nitro.static || (nuxt.options as any)._generate /* TODO: remove in future */) {
165
nuxt.hook('nitro:config', async (config) => {
166
config.prerender ||= {}
167
config.prerender.routes ||= []
0 commit comments