Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

background: url( ) generates with \'s when run on windows #56

Open
tehbeard opened this issue Aug 23, 2014 · 1 comment
Open

background: url( ) generates with \'s when run on windows #56

tehbeard opened this issue Aug 23, 2014 · 1 comment

Comments

@tehbeard
Copy link

Grunt configuration:

spritesheet: {
      compile: {
        options: {
          outputImage: 'data/img/items.png',
          outputCss: 'data/css/items.css',
          selector: '.mc-item'
        },
        files: {
          './': 'tmp/items/*'
        }
      }
    }

generates this line background: url( '..\img\items.png' ) no-repeat; instead of background: url( '../img/items.png' ) no-repeat;

@pixelbreaker
Copy link

Try using the httpImagePath option to set the path manually...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants