我有一个看起来像这样的 SCSS 文件:
在编译时,我遇到了这个问题。
.seletor{
/* comment 1 */
.sub-selector{
}
/* comment 2 */
.sub-selector{
}
}
在编译时,我遇到了这个问题。
.seletor {
font-size: 8px;}
/* comment 1 */
/* comment 2 */ }
.seletor .sub-selector {
font-size: 8px; }
.seletor .sub-selector {
font-size: 8px; }
What i want to get it is
.seletor {
font-size: 8px;}
/* comment 1 */
.seletor .sub-selector {
font-size: 8px; }
/* comment 2 */
.seletor .sub-selector {
font-size: 8px; }
那么注释必须恰好处于我在 SCSS 文件中编写的位置。我该如何实现这一点?