Closed akhoury closed 10 years ago
Having it skip the background only sounds good idea to me. If you have any background which you dont want to be processed by the sprite creator, you can use this.
background
all over the place? you're expected to change all your rules to get them to work with a plugin?/* @skip-sprite */
I agree to point that directives are good idea. To answer your question when I will want it to skip sprites.
In a large project also I will not blindly create a sprite with all the images and will want to control what goes in and out, so I will definitely go over all the rules. And I dont think you will have more than 20 images in your project for which you will want to create sprite. You will want to left out the images from library like jquery ui, etc from this.
looks like the
imageRegex
only supportsbackground-image
, but the process skips over css rules such as: