Minify HTML?

Hi all,

I already use the CSS minifier and it works great. Was wondering if there was something the same but for HTML?

Thanks

1 comment
Comment actions Permalink
 

I'd suggest looking at HTMLMinifier - it has CLI and thus can be set up as a file watcher

also it can be configured as Grunt task or Gulp task and executed using Grunt/Gulp console

 

See also https://stackoverflow.com/questions/728260/html-minification, https://stackoverflow.com/questions/5768362/how-to-minify-html

0

Please sign in to leave a comment.