Open
Description
I've noticed that when setting the generated_images_dir
in the config.rb
that the sprite-path()
function will still use the images_dir
as the basis for the resulting path.
Example:
Inside my config.rb
:
images_dir = "/public/assets/images"
generated_images_dir = "/public/assets/images/sprites"
Inside my application.scss
:
$my-sprites: sprite-map('my-sprites/*.png);
@debug( sprite-path( $my-sprites ) );
// returns
DEBUG: my-sprites-xxxxxxx.png
Output of the debug()
is my-sprites.png
when it should've been sprites/my-sprites.png
.
Is this a bug or am I missing the point on what the sprite-path
should be used for?
Thanks for taking a look.