Closed dutchwebworks closed 9 years ago
dr-svg-sprites was designed to build a set of assets with relative paths. If you want to change the paths you should probably be doing it via a separate buildstep.
Closing this as it is outside the scope of what the plugin should be doing. I this sound reasonable :)
I'm trying to change the final Css
background-image
URL path in the output to a custom root relative path.Currently it's relative to the Css file:
But I want to customize it to a root relative path (or maybe even a hardcoded CDN like URL):
Because our backend code minifies, bundles and then serves the Css file from a different URL so the relative path does not resolve.
I've tried fiddling with a custom Handlebar template:
But I can't seem to change the
url
helper nor the two arguments. When changing the two argument somehow generates a very long unwanted local filesystem path.