Open barnabycolby opened 8 years ago
When trying to set a custom environment via the env option, I always receive the following warning: loader.getSource is not a function
loader.getSource is not a function
My nunjucks_render config looks like this:
module.exports = { options: { env: (function () { var nunjucks = require('nunjucks'); return new nunjucks.Environment(); }()) }, main: { ... } };
Is this a bug or am I doing something incorrectly?
I have also noticed that most of the tests are failing, looks like the template_path variable is missing, but I'm not sure why, could be related?
template_path
When trying to set a custom environment via the env option, I always receive the following warning:
loader.getSource is not a function
My nunjucks_render config looks like this:
Is this a bug or am I doing something incorrectly?