Skip to content

StaticImagePath in SCSS file  #64

@sdylka

Description

@sdylka

Hi,
unfortunately I have to open up an solved issue (#60) due to a incorrectly generated imagepath.
I have following gruntfile setup:

sprites: {
            icon: {
                src: ['web/images/icon/*.png'],
                css: 'app/Resources/sass/icon.scss',
                map: 'web/images/icon.png',
                output: 'scss',
                staticImagePath: '../images/icon.png'
            }
        },

The imgPath I get in the generated scss-file is following:

%icon_scss {
    background: url("../images/icon.png/web/images/icon.png") no-repeat;
 }

what I would like to have in the SCSS (an later on as well in CSS) is:

%icon_scss {
    background: url("../images/icon.png") no-repeat;
 }

I'm using v 0.3.53. Sorry for bothering with this one once again.

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions