From 974298bcced63bc77bc3f098a2fa1d1006cea1a9 Mon Sep 17 00:00:00 2001 From: Matthew Dean Date: Thu, 16 Jul 2020 11:25:31 -0700 Subject: [PATCH] Fixes #3446 --- packages/less/Gruntfile.js | 1 + packages/less/bin/lessc | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/packages/less/Gruntfile.js b/packages/less/Gruntfile.js index 8d30d93a7..bf967b102 100644 --- a/packages/less/Gruntfile.js +++ b/packages/less/Gruntfile.js @@ -251,6 +251,7 @@ module.exports = function(grunt) { command: [ // @TODO: make this more thorough // CURRENT OPTIONS + `node bin/lessc --ie-compat ${lessFolder}/_main/lazy-eval.less tmp/lazy-eval.css`, // --math `node bin/lessc --math=always ${lessFolder}/_main/lazy-eval.less tmp/lazy-eval.css`, `node bin/lessc --math=parens-division ${lessFolder}/_main/lazy-eval.less tmp/lazy-eval.css`, diff --git a/packages/less/bin/lessc b/packages/less/bin/lessc index 82420826b..18599a728 100755 --- a/packages/less/bin/lessc +++ b/packages/less/bin/lessc @@ -516,6 +516,10 @@ function processPluginQueue() { } break; + + case 'ie-compat': + console.warn('The --ie-compat option is deprecated, as it has no effect on compilation.'); + break; case 'relative-urls': console.warn('The --relative-urls option has been deprecated. Use --rewrite-urls=all.');