I want to parse multiple files with the mjml cli, and rename there extension:
mjml ./src/assets/mails/templates/*.mjml -o ./src/assets/mails/compiled/*.blade.php
But he gives me this error Output destination should be a directory instead of a file. If i change the output to only the folder ./src/assets/mails/compiled he places me the correct files, but only with .html.
Hi @windows1087
Can you try to rename your file like this : .mjml.blade.php it should remove the .mjml in the output if you give a directory
Oh nice, thank you! :)
Most helpful comment
Hi @windows1087
Can you try to rename your file like this :
.mjml.blade.phpit should remove the.mjmlin the output if you give a directory