Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
grnadav opened this issue Nov 20, 2016 · 0 comments
Open

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

grnadav opened this issue Nov 20, 2016 · 0 comments

Comments

@grnadav
Copy link

grnadav commented Nov 20, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant