Open tosuccess20xx opened 3 years ago
It is not very clear but what I was able to understand from this example is that helperDirs
is an Array of strings.
Especially, what made me understand that, were the two brackets after helperDirs
:
?helperDirs[]=" + __dirname + "/helpers"
In fact, during my first setup I tried with this, and it seems to have worked:
helperDirs: [
path.resolve(__dirname, "myPathToHelpers"),
],
Hope this helps!
Hi,
This is my configuration for handlebars helpers:
helper.js
hbs file
{{ addYear '@' }}
and I keep getting this error whenever I run build: