Skip to content

Commit 15e8897

Browse files
committed
if ie compatability is off, do not warn at all about file sizes over IE's
limit. Fixes #1414
1 parent c04bdc9 commit 15e8897

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/less/functions.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,9 +497,6 @@ tree.functions = {
497497
}
498498

499499
return new tree.URL(filePathNode || mimetypeNode, this.currentFileInfo).eval(this.env);
500-
} else if (!this.env.silent) {
501-
// if explicitly disabled (via --no-ie-compat on CLI, or env.ieCompat === false), merely warn
502-
console.warn("WARNING: Embedding %s (%dKB) exceeds IE8's data-uri size limit of %dKB!", filePath, fileSizeInKB, DATA_URI_MAX_KB);
503500
}
504501
}
505502

0 commit comments

Comments
 (0)