Share your code.
If you want to just clean files, Command Line Tool is easy way.
Simple and safety HTML/SVG cleaner to minify without changing its structure.
See htmlclean for options and more information about htmlclean.
npm install gulp-htmlclean --save-dev
var gulp =htmlclean = ;gulp;
See htmlclean for the options.