1
0
mirror of https://github.com/S2-/minifyfromhtml.git synced 2025-08-02 12:00:03 +02:00

fix excludes

This commit is contained in:
s2
2019-04-15 10:46:59 +02:00
parent d1fd48f7e1
commit 1f26e93c5e
2 changed files with 0 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@@ -112,11 +112,6 @@ readStdin(function(html) {
for (let i = 0; i < styles.length; i++) { for (let i = 0; i < styles.length; i++) {
let style = styles[i]; let style = styles[i];
if (excludeFiles.indexOf(style) > -1) {
console.log(style + ' excluded');
continue;
}
minify(style, 'stream') minify(style, 'stream')
.then(function(data) { .then(function(data) {
processedStyles[style] = data; processedStyles[style] = data;