less / less.js

Less. The dynamic stylesheet language.
http://lesscss.org
Apache License 2.0
17.02k stars 3.41k forks source link

Media definitions require block statements after any features #3577

Closed Alymbek closed 3 years ago

Alymbek commented 3 years ago

Hi, getting error while compiling *.less file for Uikit, see here - https://github.com/uikit/uikit/issues/4357

PS. "less": "4.0.0", with "less": "3.13.1" no error

matthew-dean commented 3 years ago

This is expected. Less 4.0.0 is a breaking change, hence the major version increment. This is due to parentheses being required for mixin calls. Please see the release notes: https://github.com/less/less.js/releases/tag/v4.0.0