Skip to main content
Module

x/nunjucks/mod.js>default.PrecompileOptions

A powerful templating engine with inheritance, asynchronous control, and more (Jinja 2 inspired)
Go to Latest
interface default.PrecompileOptions
import { type default } from "https://deno.land/x/nunjucks@3.2.3-2/mod.js";
const { PrecompileOptions } = default;

Properties

optional
name: string | undefined
optional
asFunction: boolean | undefined
optional
force: boolean | undefined
optional
env: Environment | undefined
optional
include: string[] | undefined
optional
exclude: string[] | undefined

Methods

optional
wrapper(templates: { name: string; template: string; }, opts: PrecompileOptions): string