nzakas / cssembed

A tool for embedding data URIs in CSS files.
http://www.nczonline.net/
389 stars 30 forks source link

Option to ignore commented CSS rules #16

Open rizkysyazuli opened 14 years ago

rizkysyazuli commented 14 years ago

it would be great if cssembed has an option to ignore commented rules and/or properties. or even ignore it completely without extra configurations.

i know i should probably remove unused properties on a production environment. but i just think this might be a convenient for some people if this option were available.

thx.

Seldaek commented 14 years ago

Upvote from me.. just had the issue where and outdated commented-out block containing an invalid URL triggered an error, this shouldn't happen ideally.

0liver commented 13 years ago

First of all: really like the tool!

I've also come across this limitation - of course, deleting the rule works, but it would be even better to just ignore it.

Cheers, Oliver

fearphage commented 13 years ago

You should be using a minifier that should be removing the commented out rules in most cases. I don't support this request.

tivac commented 13 years ago

Seconding fearphage's comment, I don't think this is necessary.