Closed mparpaillon closed 9 years ago
In my case, I'm requiring Handlebars templates with '.hbs' extension. So it's not working when I try to require them.
So if I have a zoning.hbs file in my template/ directory and I do this
var myTemplates = require('./templates/*.hbs', { hash: true });
I get this
Error: Cannot find module './templates/zoning' from ...
PR incoming
I'll investigate this. Please follow the pull request for the resolution.
In my case, I'm requiring Handlebars templates with '.hbs' extension. So it's not working when I try to require them.
So if I have a zoning.hbs file in my template/ directory and I do this
I get this
PR incoming