The problem here is that jinja doesn't have a precompilation option. That's fine, though, because Python doesn't run in the browser and you don't need to load individual files on each page. Because the templates is compiled to an intermediate format (i.e.: JS), there needs to be a way to representing the meaning of the tag in the JS such that it retains the intended behavior.

As I said before, it's not the same method that jinja2 uses, but jinja2 is also not solving the same problems that nunjucks solves. :-/