Skip to content

Commit

Permalink
Fixes less#3446
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-dean committed Jul 16, 2020
1 parent 185762a commit 974298b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/less/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
Expand Down
4 changes: 4 additions & 0 deletions packages/less/bin/lessc
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
Expand Down

0 comments on commit 974298b

Please sign in to comment.