You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But this didnt had any mention about babelify. Looks like some dependent node_module called 'striptags' used ES6 const notation. I tried adding bablify into the browserify workflow. But the resultant app.js inside gh_pages folder still had const notation and not completely transpiled.
Hi,
I need to use handlebars-helpers in my browser web app.
I referred this as per documentation :
https://github.com/doowb/handlebars-helpers-browserify-example
But this didnt had any mention about babelify. Looks like some dependent node_module called 'striptags' used ES6 const notation. I tried adding bablify into the browserify workflow. But the resultant app.js inside gh_pages folder still had const notation and not completely transpiled.
app.js :
require('handlebars-helpers')({ handlebars: Handlebars });
_gh_pages/app.js : (notice this file still has const ES6 notation and not 'var' notation)
gulpfile.js
The text was updated successfully, but these errors were encountered: