Wednesday, 15 September 2010

import - LESS strictImports -



import - LESS strictImports -

i have build compiles several less files (all imported 1 master.less file). 1 of options build strictimports suggests forces evaluation of imports. know if have operations in imported files, or missing point?

the strictimports controls whether compiler allow @import inside of either @media blocks or (a later addition) other selector blocks. see of comments this closed issue regards that.

so set true these not allowed:

@media screen { @import somefile.less; } .myselector { @import somefile.less; }

import less

No comments:

Post a Comment