{"action":"created","issue":{"url":"https://api.github.com/repos/gavro/gulp-iconify/issues/9","labels_url":"https://api.github.com/repos/gavro/gulp-iconify/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/gavro/gulp-iconify/issues/9/comments","events_url":"https://api.github.com/repos/gavro/gulp-iconify/issues/9/events","html_url":"https://github.com/gavro/gulp-iconify/issues/9","id":65783942,"number":9,"title":"'Icons Fallback' referencing a long-winded path","user":{"login":"lukewhitehouse","id":2808486,"avatar_url":"https://avatars.githubusercontent.com/u/2808486?v=3","gravatar_id":"","url":"https://api.github.com/users/lukewhitehouse","html_url":"https://github.com/lukewhitehouse","followers_url":"https://api.github.com/users/lukewhitehouse/followers","following_url":"https://api.github.com/users/lukewhitehouse/following{/other_user}","gists_url":"https://api.github.com/users/lukewhitehouse/gists{/gist_id}","starred_url":"https://api.github.com/users/lukewhitehouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukewhitehouse/subscriptions","organizations_url":"https://api.github.com/users/lukewhitehouse/orgs","repos_url":"https://api.github.com/users/lukewhitehouse/repos","events_url":"https://api.github.com/users/lukewhitehouse/events{/privacy}","received_events_url":"https://api.github.com/users/lukewhitehouse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-01T21:35:44Z","updated_at":"2015-07-16T22:19:41Z","closed_at":null,"body":"Hi there,\r\n\r\nSo I've got a little obscure issue with the path thats generated for the `background-image` property within the `icons.fallback.css` or `icons.fallback.scss`. Here's my desired structure for the project:\r\n\r\n```\r\nassets\r\n|-- dist/\r\n|----- icons/\r\n|--------- icons.fallback.css\r\n|--------- icons.png.css\r\n|--------- icons.png.css\r\n|--------- png/\r\n|-------------.png\r\n|-- src/\r\n|----- icons/\r\n|--------- .svg\r\n|--------- _icon_gen.scss.mustache\r\n```\r\n\r\nAnd here's my gulp task:\r\n\r\n```js\r\nvar paths = {\r\n    src: {\r\n        icons: 'assets/src/icons/'\r\n    },\r\n    dist: {\r\n        icons: 'assets/dist/icons'\r\n    }\r\n}\r\n\r\ngulp.task('sprites', function () {\r\n    iconify({\r\n        src: [paths.src.icons] + '**/*.svg',\r\n        styleTemplate: [paths.src.icons] + '/_icon_gen.scss.mustache',\r\n        pngOutput: [paths.dist.icons] + '/png/',\r\n        cssOutput:  [paths.dist.icons] + '',\r\n        svgoOptions: {\r\n            enabled: false\r\n        }\r\n    });\r\n});\r\n```\r\n\r\nSo, I thought this would work, and it does for the most part ... its not until you look at the fallback that you see the problem...\r\n\r\n```css\r\n.icon--logo{background-image:url('../../../Users/lukewhitehouse/Sites/png/logo.png')}\r\n```\r\n\r\nAny recommendations?\r\n\r\n---\r\nAlso, It'd be cool if we could leverage the `gulp.src` and `gulp.dist` functions, and use a pipe-based system rather than having one object for everything."},"comment":{"url":"https://api.github.com/repos/gavro/gulp-iconify/issues/comments/122120274","html_url":"https://github.com/gavro/gulp-iconify/issues/9#issuecomment-122120274","issue_url":"https://api.github.com/repos/gavro/gulp-iconify/issues/9","id":122120274,"user":{"login":"steveszc","id":6877934,"avatar_url":"https://avatars.githubusercontent.com/u/6877934?v=3","gravatar_id":"","url":"https://api.github.com/users/steveszc","html_url":"https://github.com/steveszc","followers_url":"https://api.github.com/users/steveszc/followers","following_url":"https://api.github.com/users/steveszc/following{/other_user}","gists_url":"https://api.github.com/users/steveszc/gists{/gist_id}","starred_url":"https://api.github.com/users/steveszc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveszc/subscriptions","organizations_url":"https://api.github.com/users/steveszc/orgs","repos_url":"https://api.github.com/users/steveszc/repos","events_url":"https://api.github.com/users/steveszc/events{/privacy}","received_events_url":"https://api.github.com/users/steveszc/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T22:19:40Z","updated_at":"2015-07-16T22:19:40Z","body":"@gavro Sorry... I had to switch to an alternative solution for svg icons, not using gulp-iconify any longer. "}}