Closed SpencerC closed 3 years ago
+1
hmm... sounds like an issue with escaping. I'll look into this tomorrow
The same happens here if I try to use //local-assets.pksy.io/img/dark-leather.png
as source url then you get /local-assets.pksy.io/img/dark-leather.png
in the output. :tired_face:
The problem seems to be that stylus uses path.join
which normalizes the path and seems to kill the //
in our urls.
I opened up an issue over at stylus as well.
What do you think about this approach from @Panya?
Compiles to:
Note the dropped slash in the @2x URLs. Is there a work around?