This Webpack loader precompiles Nunjucks templates and set required dependencies
from used assets, custom filters and tags, and referenced templates (extend
s,
import
s and include
s).
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
isomorphic
app examplenunjucks-markdown
usage notes