Index of every page on this site: llms.txt
TypeScript
Hooks

tag:normalise Hook

On this page

The tag:normalise hook remains in the hook type for compatibility, but the current resolver does not call it. Do not use it for new plugins.

To process each tag as it is produced, use entries:normalize and iterate over ctx.tags. To process the deduplicated tag set, use tags:beforeResolve, tags:resolve, or tags:afterResolve.

Declared Signature

export interface Hook {
  'tag:normalise': (ctx: {
    tag: HeadTag
    entry: HeadEntry<any>
    resolvedOptions: CreateClientHeadOptions
  }) => SyncHookResult
}

This signature is declared in the public types, but no corresponding hook call exists in the normalization or resolution path.

Did this page help you?