This Webpack loader precompiles Nunjucks templates and set required dependencies from used assets, custom filters and tags, and referenced templates (extends, imports and includes).

Install

npm install --save-dev simple-nunjucks-loader

Migration

I you happen to use nunjucks-loader, you could be interested in Migration guide.

Examples