heml icon indicating copy to clipboard operation
heml copied to clipboard

Request: Regular ES5 version without Node

Open gordon-matt opened this issue 8 years ago • 5 comments
trafficstars

Could you guys build a regular ES5 version (without requiring Node) and have it under releases and/or available on Bower?

gordon-matt avatar Oct 30 '17 05:10 gordon-matt

Yeah, that definitely is something we are looking into. I'd love to have this bundled for the browser. There are a couple of dependencies that don't play nicely with bundling (specifically in @heml/styles but if we can iron those out we should be in good shape.

avigoldman avatar Oct 30 '17 21:10 avigoldman

@avigoldman Any idea when this can be done? I can't quite figure out how to use babel to bundle this myself. If you could bundle up something for me to get started with now (before this is officially supported in Bower or releases) so that I can get started on developing my app, I would be very grateful. If you're too busy, no worries but then any estimate on when it might be ready would be helpful. Thanks in advance.

gordon-matt avatar Nov 01 '17 02:11 gordon-matt

One of the dependencies is not bundling nicely 😞 I'll talk to some of our babel pros at SparkPost and see if they know of any good solutions. The best option for the moment is to offload the HEML work onto Heroku, Lambda, or an Azure Function. I'll post updates to this as they come in.

avigoldman avatar Nov 01 '17 16:11 avigoldman

I know some people that used a CI solution like Travis to compile their templates and add/update them as a stored template in SparkPost on Github commit. That could be an easy solution if you have a template store.

aydrian avatar Nov 02 '17 12:11 aydrian

Any updates on this? We'd like to integrate this into our web app if possible 👍

adamlc avatar Aug 22 '18 11:08 adamlc