It takes the same approach as nunjucks-loader for Webpack - separates runtime shim to dedicated file.
Benefits:
Easier editing.
Dedicated module which can be extracted to common bundle and be required and referenced just once, making required files really small if you have large set of templates.
The tests aren’t passing, but they don’t pass even without these changes, do you know what can be the problem?
It takes the same approach as nunjucks-loader for Webpack - separates runtime shim to dedicated file.
Benefits:
The tests aren’t passing, but they don’t pass even without these changes, do you know what can be the problem?