-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
Description
Hey Gleb,
I'm using CSS Modules in my project and I have one css file per component. When I refer to the same sprite name in two different spritesheet then sprite is generated from single css file and doesn't take icons from different stylesheets into the account.
Example -
/* Modal.css */
.closeIcon {
background-image: ('../../path/to/icon.png#sprite');
}
/* Dropdown.css */
.arrow {
background-image: ('../../path/to/icon.png#sprite');
}
Now, The the generated sprite is taking only one file into the account and generating sprite. Ideally, it should take all the icons from different css files and spit out into single sprite.png.