A
A
Alexey2015-11-15 15:17:31
JavaScript
Alexey, 2015-11-15 15:17:31

How to configure gulp-html-minifier so that it doesn't remove closing tags?

I used gulp-html-minifier and gulp-minify-html to compress html code. Both plugins remove end tags if there are no matching start tags in the file. For example, I compress footer.html, it has body and html closing tags, and both are removed after compression. I went through all the plugin options, it did not help.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question