gulp-ejs
gulp-ejs copied to clipboard
Don't use ejs.render when options.client is true
Tried to use this to compile clientside templates, but since it uses ejs.render
, it will throw an error on various undefined variables during compilation. I can't provide browser variables - the plugin should use ejs.compile
if it sees options.client
is set to true.
@megakoresh thanks for the feedback!
If you wish to contribute a pull request is very welcome.
Anyway I can fix it, but I can't guarantee when.
Done.
Hello? Can you merge that thing or say why it can't be merged? I'd really rather avoid linking a fork as dependency for my project.
@rogeriopvl fix pls