mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
if ie compatability is off, do not warn at all about file sizes over IE's
limit. Fixes #1414
This commit is contained in:
@@ -497,9 +497,6 @@ tree.functions = {
|
||||
}
|
||||
|
||||
return new tree.URL(filePathNode || mimetypeNode, this.currentFileInfo).eval(this.env);
|
||||
} else if (!this.env.silent) {
|
||||
// if explicitly disabled (via --no-ie-compat on CLI, or env.ieCompat === false), merely warn
|
||||
console.warn("WARNING: Embedding %s (%dKB) exceeds IE8's data-uri size limit of %dKB!", filePath, fileSizeInKB, DATA_URI_MAX_KB);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user