Open wwisser opened 4 years ago
Hi @wwisser and thanks for the issue. Sadly we can't update right now (didn't check recently) but if I remember correctly new mjml release don't work with nashorn anymore.
but if I remember correctly new mjml release don't work with nashorn anymore.
Do you have a link for this? I tried searching the MJML release notes and greater internet, but didn't find anything.
I created a PR to switch to the latest openJDK nashorn version. this version of nashorn implements many ECMAScript 6 features. It might be possible that an update to an up to date mjml version is possible afterwards. (I could not figure out where the bundled mjml.js comes from or how it was created so i was not sure how to update it. as my priority was to get mjml-processor running with java17 i did not spend much time trying tu figure it out)
@robinjoerke As far as I remember, the existing mjml bundle was created via the not existing browser module. As such the latest mjml seems to work only with node runtime
See https://github.com/mjmlio/mjml/releases