googlearchive / polyclean

BSD 3-Clause "New" or "Revised" License
20 stars 7 forks source link

Polyclean works for minification of inline CSS & JS, but not for the html itself. #14

Open safizn opened 8 years ago

safizn commented 8 years ago

Using gulp, I applied all Polyclean options to the same source. The result is that all inline CSS & JS of the html file are minified, but the html itself is not. Can I remove white spaces & comments from html itself using Polyclean & without vulcanizing them ? I tried to use other gulp plugins but all do not support polymer elements, and execute errors like for the $ sign in some attributes or the double parenthesis {{}}. Couldn't solve it.

Thanks

aruntk commented 8 years ago

Noticed that using stripCss method css comments are not getting removed.