mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-02 20:00:05 +02:00
fix excludes
This commit is contained in:
1
dist/mywidget.min.js
vendored
1
dist/mywidget.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -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;
|
||||||
|
Reference in New Issue
Block a user