Skip to content

Conversation

danielroe
Copy link
Collaborator

Description

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.

Linked Issues

Additional Context


Tip

The author of this PR can publish a preview release by commenting /publish below.

Copy link
Owner

@userquin userquin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will fix the lint error.

thx @danielroe ❤️

@danielroe danielroe merged commit e36cb59 into main Jun 15, 2025
3 checks passed
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.

2 participants