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

modified version of handlebars #15

Closed
HenriPodolski opened this issue May 1, 2016 · 1 comment
Closed

modified version of handlebars #15

HenriPodolski opened this issue May 1, 2016 · 1 comment

Comments

@HenriPodolski
Copy link
Owner

HenriPodolski commented May 1, 2016

webpack port is using a modified version of handlebars, because of require.extensions.

This should be fixed, because in order to make this work you have to edit the package.json of the handlebars node_module and add:

"browser": "dist/handlebars.runtime.js"

for prerendered templates.
Alternative:

"browser": "dist/handlebars.js"

for rendering hbs on the client.

handlebars-lang/handlebars.js#1102

@HenriPodolski
Copy link
Owner Author

Seems to work now, without the workaround. DevDependencies fixed with npm shrinkwrap

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

No branches or pull requests

1 participant