Open dominicbarnes opened 9 years ago
yikes, maybe we should just move towards using postcss
or css-parse
:-/
this could probably be fixed up, but I wonder if it's worth it if these issues keep coming up.
Yeah, I totally see that being a valuable way to offload this effort. fwiw, I've also considered adopting rework
to handle CSS in duo-pack
, because generating source-maps and stuff by hand is proving extremely difficult once things start operating recursively. :(
yah i'm +1 to this change. originally it was to speed up the parsing, but i didn't realize the complexity and developer cost plain regexps would bring.
Cool, would you mind moving this to the duojs
organization?
done, added you on npm as well
When using multiple backgrounds, this module does not parse
url()
declarations after the first one properly:The first one (
./logo.png
) gets parsed correctly, but the 2nd (./caret.png
) is not detected. (and is not rewritten by the consumer)