Last active
November 27, 2017 07:36
-
-
Save garkin/dd5204da4f4f5e1abd07c6c80bf27a7a to your computer and use it in GitHub Desktop.
less.js bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import (reference) "./referenced.less"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (hover) { | |
}@media (hover) { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.referenced { | |
// line comment is enough to reproduce it | |
@media (hover) { | |
// sezam | |
} | |
// repeat to prove point | |
@media (hover) { | |
// sezam | |
} | |
// but block comment is not, huh | |
@media (hover) { | |
/* salabim */ | |
} | |
// following not outputs, needs line comment | |
@media (hover) { | |
color: #000000; | |
} | |
} | |
// needs to be nested to fail | |
@media (hover) { | |
// sezam | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
less/less.js#2991