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

Upgrade stencil-cli to handlebars v4 #402

Closed
flyingL123 opened this issue Aug 1, 2018 · 2 comments
Closed

Upgrade stencil-cli to handlebars v4 #402

flyingL123 opened this issue Aug 1, 2018 · 2 comments

Comments

@flyingL123
Copy link

Are there any plans to update the version of handlebars that stencil-cli uses? In v4, handlebars made changes to how context changes with certain block helpers.

I'm using handlebars on the client-side, and it's nice to be able to share templates between the client and server. However, using v4 on the client causes issues since the number of ../ uses within blocks needs to be different for v3 on the sever, and v4 on the client.

See "Compatibility notes" here: https://github.com/wycats/handlebars.js/blob/master/release-notes.md#v400---september-1st-2015

And handlebars-lang/handlebars.js#1028

@diztinct-glenn
Copy link

I reckon this can be marked closed now, no?

@dannydulai
Copy link

how does one enable v4?

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

3 participants