Originally posted this issue here.
In the attached minimal project (using grunt and browserify-handlebars), two instances of handlebars are created
- from 'node_modules\handlebars\Lib\index.js'
- from 'node_modules\handlebars\Dist\Cjs\handlebars.js'
I think the reason is the alias 'dist/cjs/handlebars', but not sure. Of course I want only one default instance on which I can register my helpers globally. How would I resolve this ambiguity?
https://www.dropbox.com/sh/spn8du2g5pn4xt7/sGZFWWDWRA
Originally posted this issue here.
In the attached minimal project (using grunt and browserify-handlebars), two instances of handlebars are created
I think the reason is the alias 'dist/cjs/handlebars', but not sure. Of course I want only one default instance on which I can register my helpers globally. How would I resolve this ambiguity?
https://www.dropbox.com/sh/spn8du2g5pn4xt7/sGZFWWDWRA