Skip to content

When using bower to install hogan, the node.js file is loaded #253

@grnadav

Description

@grnadav

Hello

When installing hogan via bower & wiredep, it inserts a script tag to file
bower_components/hogan.js/lib/hogan.js which, when loaded in the browser throws error on first line (var Hogan = require('./compiler'); - require is not defined),
which is not surprising given that there's a comment right before the "require" that says:
// This file is for use with Node.js. See dist/ for browser files.

there is no dist folder, but in the web/builds/3.0.2/ with all the build files in there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions