Plugin Configuration
Plugin configuration options
| Option | Type | Default | Description |
|---|
siteName | string | - | Site name |
domain | string | - | Domain |
disabled | boolean | false | Disable plugin |
redirects | RedirectsConfig | false | {} | Redirects config or false to disable |
revalidation | RevalidationConfig | - | Cache revalidation config |
lexicalReferences | LexicalReferencesConfig | Enabled | Lexical reference tracking for block relationships |
externalRelationshipSources | ExternalRelationshipSourceConfig[] | - | Sources that power externalRelationshipField |
| Option | Type | Default | Description |
|---|
redirectEnabledCollections | string[] | Auto-detected | Collections that support redirects |
fields | function | - | Add/modify redirect collection fields |
redirectsOverrides | Partial<CollectionConfig> | {} | Override redirect collection config |
redeploy | RedeployConfig | - | Auto-deploy config |
| Option | Type | Default | Description |
|---|
url | string | - | Deploy hook URL |
delayMinutes | number | 10 | Delay before triggering |
| Option | Type | Description |
|---|
url | string | string[] | Revalidation endpoint(s) |
secret | string | Secret token |
mode | 'autoMode' | 'legacyMode' | Defaults to 'autoMode'. In 'autoMode', the plugin walks config.collections / config.globals for entries whose custom.revalidate is set and attaches hooks. All revalidation POSTs use { secret, tag }. In 'legacyMode', source is forbidden and manual revalidateHook calls POST the same shape. |
source | string | Optional publisher identifier. When set, every emitted tag is prefixed with ${source}_. Forbidden in legacyMode. See Revalidation. |
| Option | Type | Default | Description |
|---|
enabled | boolean | true | Enable lexical references tracking |
fieldName | string | lexicalReferences | Field name that stores reference tags |
collections | Record<string, boolean> | {} | Per-collection overrides (set to false to disable) |