Closed cbrevik closed 6 years ago
As noted in https://github.com/mjmlio/gulp-mjml/issues/8#issuecomment-259505101 mj-include doesn't work with relative paths.
mj-include
I see a PR where filePath is set on an object for includes, but I am not sure if it's used: https://github.com/mjmlio/gulp-mjml/pull/19/files#r130280996
filePath
Maybe the options sent into mjml2html should be localOptions instead?
options
mjml2html
localOptions
Edit: I see there is an open PR for this #25
Hi @cbrevik
We've released the 2.3 version of gulp-mjml that should fix this
As noted in https://github.com/mjmlio/gulp-mjml/issues/8#issuecomment-259505101
mj-include
doesn't work with relative paths.I see a PR where
filePath
is set on an object for includes, but I am not sure if it's used: https://github.com/mjmlio/gulp-mjml/pull/19/files#r130280996Maybe the
options
sent intomjml2html
should belocalOptions
instead?Edit: I see there is an open PR for this #25