CLI scripts for making work with MJML a little bit nicer
$ mjml-scripts build -i=example/**.mjml -o=dist --minify --beautify
$ mjml-scripts build -i=example/**.mjml -o=dist -extension=".htm"
See MJML documentation for additional configuration options.
$ mjml-scripts watch -i=example -o=dist
$ mjml-scripts watch -i=example -o=dist --serve --port=4444
This project uses node and npm.
$ npm install -g mjml-scripts
$ # OR
$ yarn global add mjml-scripts
- Fork it and create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am "Add some feature"
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
MIT