Config
A reference of every option available in nitro.config.ts.
Options are grouped by topic. See the configuration guide to learn how to set them.
General
Deployment preset, compatibility date, logging, and runtime config.
Features
Built-in features, experimental flags, OpenAPI, modules, plugins, and tasks.
Storage
KV storage mounts, cache driver, and database connections.
Assets
Serving, compressing, and bundling public and server assets.
Routing
Base URL, handlers, route rules, error handler, and prerendering.
Directories
Where Nitro scans for source files and writes its output.
Dev
Development server, file watching, and dev proxy.
Build
Builder selection, bundler options, externals, and dependency tracing.
Advanced
Hooks, TypeScript, tracing channels, and other low-level options.
Preset Options
Provider-specific options for deployment presets.