Closed w0rm closed 10 years ago
By default, nunjucksify requires nunjucks in browser, regular nunjucks.js is huge and may be replaced with a slim version, because templates are already precompiled. To do so, one may set the following browser option in package.json:
browser
"browser": { "nunjucks": "nunjucks/browser/nunjucks-slim" }
I tried this and it worked for me.
By default, nunjucksify requires nunjucks in browser, regular nunjucks.js is huge and may be replaced with a slim version, because templates are already precompiled. To do so, one may set the following
browser
option in package.json:I tried this and it worked for me.