OptionalconfigureRegisters filters, globals or extensions on each new render environment. Called before compilation; thrown errors reject the HTML transform. Use Nunjucks' callback API when registering asynchronous filters.
OptionallocalsVariables available to every HTML entry. An object under a page basename adds or overrides variables for that page, e.g. 'index.html': { title: 'Home' }. Matching uses the basename only, so pages in different folders with the same filename share these overrides.
OptionaloptionsOverrides Nunjucks defaults: escape HTML, reject undefined output, trim block whitespace, and read included templates without caching their compiled form.
Inputs for rendering Nunjucks expressions and template files during Vite processing.