Description
This bug was originally reported to WebCompiler but was stated to be a bug with the node-less module. Please refer to original bug report for more information:
madskristensen/WebCompiler#269
Installed product versions
- Visual Studio: 2015 Professional
- Web Compiler extension: 1.11.319
- Bootstrap less 3.3.7
Description
Empty @media queries generated when compiling less file with (reference) to bootstrap
Steps to recreate
-
Download bootstrap less files from http://getbootstrap.com/getting-started/#download
-
Create a less file with a reference import to bootstrap.less and use a mixin:
-
Compile your less file
Current behavior
The css file contains many empty @media queries
Expected behavior
The css file should not contain empty @media queries
.mybutton { padding: 1px 1px; font-size: 1px; line-height: 1px; border-radius: 1px; }