Skip to content

Spaces removed from :not statement #996

@JParkinson1991

Description

@JParkinson1991

Hello,

I have been using gulp wrapper of this package and have noticed the whitespace is removed from :not statements.

Basically if i have css:

button {
    &:not(.gmap &){
        @include button();
    }
}

The compiled css becomes (notice the space removed from .gmap and button:

button:not(.gmapbutton){/* the mixin css */}

When using the following gulp process:

return gulp.src(cssPath + '/**/*.css')
        .pipe(groupMediaQueries())
        .pipe(cleanCss({
            compatibility: ie8,
            level: 2
        }))
        .pipe(gulp.dest(cssPath));

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions