Open gordon-matt opened 6 years ago
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 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.
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.
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.
Any updates on this? We'd like to integrate this into our web app if possible 👍
Could you guys build a regular ES5 version (without requiring Node) and have it under releases and/or available on Bower?