Enb techs for pretty format HTML and CSS.
- Add
enb-beautify
dependency to your projectpackage.json
: - Add required techs and targets in
make
config likeaddTechs.push([tech.htmlBeautify]);
:
var tech = {
//...
htmlBeautify: require('enb-beautify/techs/enb-beautify-html'),
cssBeautify: require('enb-beautify/techs/enb-beautify-css'),
//...
}
addTechs.push([tech.htmlBeautify]);
addTechs.push([tech.cssBeautify]);
addTargets.push('?.beauty.html');
addTargets.push('?.beauty.css');
Russian readme available in README.ru.md.