Skip to main content

Type Alias: CachingNodeFileSystemLoaderOptions

CachingNodeFileSystemLoaderOptions = NodeFileSystemLoaderOptions & object

Defined in: src/loaders/file_system_loader.ts:37

Options for a caching file system template loader in the NodeJS runtime.

Type Declaration

autoReload?

optional autoReload?: boolean

When true, if a template has been cached, it will be reloaded automatically if it has been modified since it was last loaded. Defaults to true

cacheSize?

optional cacheSize?: number

The maximum number of templates to cache. Defaults to 300.