8000 fix: prefer `nitro.static` over `_generate` by danielroe · Pull Request #601 · nuxt-hub/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: prefer nitro.static over _generate #601

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 20, 2025

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.

Copy link
pkg-pr-new bot commented Jun 11, 2025
npm i https://pkg.pr.new/@nuxthub/core@601

commit: 97e55e2

@RihanArfan RihanArfan requested a review from farnabaz June 19, 2025 13:58
@farnabaz farnabaz merged commit 742b663 into nuxt-hub:main Jun 20, 2025
6 of 7 checks passed
@danielroe danielroe deleted the generate-static branch June 20, 2025 10:15
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
0