Skip to content

Two handlebars instances created #1

@AndiDog

Description

@AndiDog

Originally posted this issue here.

In the attached minimal project (using grunt and browserify-handlebars), two instances of handlebars are created

  1. from 'node_modules\handlebars\Lib\index.js'
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions