Breaks compressed CSS in less.js variant
Opened this issue · 1 comments
thybzi commented
When using lessc
width compress: true
option,
/* {
magic: dont;
}
/* touch */
turns into:
/*{magic:dont}
So, all following CSS code becomes commented out.
thybzi commented
Possible workaround is replacing the final lines in the file to magic fix from lessphp variant
Find:
// Closing the final bracket (do not touch the comment magic!)
@globalEndString: ~'@{bracketClose}/*';
@{globalEndString} { magic: dont; } /* touch */
}
Replace with:
// Closing the final bracket (do not touch the magic!)
@globalEndString: ~'@{bracketClose}x:not(x)';
@{globalEndString} { content: ''; }
}