This repository was archived by the owner on Apr 4, 2019. It is now read-only.
This repository was archived by the owner on Apr 4, 2019. It is now read-only.
a nested @import with an @if inside removes the nesting #49
Open
Description
From sass/sass#2219:
Whenever you nest an @import and have @if in the root of the file it will lose its nesting.
index.scss
.nested { @import 'nesting'; }_nesting.scss
@if true { .selector { color: #fff } }results into
.selector { color: #fff; }This works though
& { @if true { .selector { color: #fff } } }