Configuration
Full reference for the omni config block in svelte.config.js.
Configuration
All omni-svelte options live under the omni key in svelte.config.js. This page covers every available option.
Top-level shape
ts
omni: {
database?: DatabaseConfig;
schema?: SchemaConfig;
auth?: AuthConfig;
logging?: { enabled: boolean };
cors?: { enabled: boolean };
analytics?: { enabled: boolean };
errorReporting?: { enabled: boolean };
}database
schema
Controls how omni-svelte discovers and generates code from your .schema.ts files.
auth
Configures Better-Auth.