gulp-rewrite-css
gulp-rewrite-css copied to clipboard
Replace "\" to "/" in target url
Replace line 51 in src/index.coffee file:
targetUrl = targetUrl.replace '\\', '/' if path.sep is '\\'
to
targetUrl = targetUrl.replace /\\/g, '/' if path.sep is '\\'
to replace globally all backslashes to slashes in a string, not just the first occurance.
@lswierzewski good catch, would you like to create a PR with a matching test?
closed via 84e8422744010c528424409bbaccca9a32fddf5c