Skip to content

fix: prefer nitro.static over _generate#63

Open
danielroe wants to merge 1 commit intotresko:mainfrom
danielroe:generate-static
Open

fix: prefer nitro.static over _generate#63
danielroe wants to merge 1 commit intotresko:mainfrom
danielroe:generate-static

Conversation

@danielroe
Copy link
Contributor

Since nuxi v3.8, we've supported setting nuxt.options.nitro.static instead of nuxt.options._generate (which is an internal flag) - see nuxt/nuxt#21860.

Now, in preparation for Nuxt v4, we've removed the types for _generate (see nuxt/nuxt#32355). This PR adds support for new version in backwards compatible way (ignoring type issues) - I'd suggest you remove support in a future major.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments