sighmon / mjml-rails

MJML + ERb/Haml/Slim view template
https://mjml.io
Other
300 stars 65 forks source link

Minification of output files #28

Closed tomasmcm closed 6 years ago

tomasmcm commented 6 years ago

Mjml cli allows files to be minified automatically using --config.beautify false --config.minify true. The defaults are --config.beautify true --config.minify false.

Can you add a config option to the gem so that it is possible to change the default to minify the output?

sighmon commented 6 years ago

@tomasmcm sounds good. I don't have dev time for it now, would you like to submit a pull request?

sighmon commented 6 years ago

Fixed by @mandyhuang 👍