var appName = require('./package.json').name;
var appVersion = require('./package.json').version;
var minify = require('./dist/htmlminifier.min.js').minify;
+var HTMLLint = require('./dist/htmlminifier.min.js').HTMLLint;
var minifyOptions = {};
var input = null;
var output = null;
}
});
+ if (minifyOptions.lint === true) {
+ minifyOptions.lint = new HTMLLint();
+ }
+
if (args.length) {
input = args;
}
customAttrSurround: options.customAttrSurround
});
+ lint && lint.populate();
results.push.apply(results, buffer);
var str = joinResultSegments(results, options);
log('minified in: ' + (new Date() - t) + 'ms');