When you use custom mjml components, they are stored in mjmlEngine.elements. Therefore the gulp task needs to be able to take another mjmlEngine instance to be able to render these custom components (when you do require('mjml') from the gulp task, it is another instance).
If you are happy with the changes and do the merge, don't forget to update the version and eventually add me as a contributor :)
When you use custom mjml components, they are stored in mjmlEngine.elements. Therefore the gulp task needs to be able to take another mjmlEngine instance to be able to render these custom components (when you do
require('mjml')
from the gulp task, it is another instance).If you are happy with the changes and do the merge, don't forget to update the version and eventually add me as a contributor :)
Many thanks.