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
- Using with
html-webpack-plugin - Loading assets from template
isomorphicapp examplenunjucks-markdownusage notes