postcss-sprites
postcss-sprites copied to clipboard
Issue with "getImageUrl" function
Hi, the plugin is quite helpful. But I may find a bug in function getImageUrl
, about the regular expression /url(?:\(['"]?)(.*?)(?:['"]?\))/gi
.
It can't match the background file that include brackets in file name, because of its ungreedy matches.