Skip to content

static nitro builds when running nuxi generate #21254

@danielroe

Description

@danielroe

Now that we have support for nitro 'static' builds it would be nice to enable this behaviour automatically when running nuxi generate.

### Tasks
- [x] detect `netlify-static` and `vercel-static` environments automatically (upstream bug in nitro)
- [x] normalise behaviour between `build` and `generate` when using a static preset (prerender configuration, crawler, etc.)

Linked issues:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions