webpack-starter-basic icon indicating copy to clipboard operation
webpack-starter-basic copied to clipboard

*-close classes were removed from build

Open theRenard opened this issue 5 years ago • 1 comments

got this weird issue, if a class ends with -close it is removed from the built .css

index.scss

.mfp-close {
    width: 100px;
    height: 100px;
}
.test-close {
    width: 100px;
    height: 100px;
}
.close {
    width: 100px;
    height: 100px;
}
.test {
    width: 100px;
    height: 100px;
}

generated styles.css

.close,.test{width:100px;height:100px}
/*# sourceMappingURL=styles.eae04a2f42f80581e776.css.map */

theRenard avatar Feb 19 '20 23:02 theRenard

Huh this is weird indeed. I'll investigate. Thanks!

lifenautjoe avatar Feb 27 '20 19:02 lifenautjoe