{"action":"closed","issue":{"url":"https://api.github.com/repos/cascornelissen/svg-spritemap-webpack-plugin/issues/35","repository_url":"https://api.github.com/repos/cascornelissen/svg-spritemap-webpack-plugin","labels_url":"https://api.github.com/repos/cascornelissen/svg-spritemap-webpack-plugin/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/cascornelissen/svg-spritemap-webpack-plugin/issues/35/comments","events_url":"https://api.github.com/repos/cascornelissen/svg-spritemap-webpack-plugin/issues/35/events","html_url":"https://github.com/cascornelissen/svg-spritemap-webpack-plugin/issues/35","id":328091192,"node_id":"MDU6SXNzdWUzMjgwOTExOTI=","number":35,"title":"generated scss map not available under the specified filename in styles parameter","user":{"login":"janwidmer","id":3381820,"node_id":"MDQ6VXNlcjMzODE4MjA=","avatar_url":"https://avatars3.githubusercontent.com/u/3381820?v=4","gravatar_id":"","url":"https://api.github.com/users/janwidmer","html_url":"https://github.com/janwidmer","followers_url":"https://api.github.com/users/janwidmer/followers","following_url":"https://api.github.com/users/janwidmer/following{/other_user}","gists_url":"https://api.github.com/users/janwidmer/gists{/gist_id}","starred_url":"https://api.github.com/users/janwidmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janwidmer/subscriptions","organizations_url":"https://api.github.com/users/janwidmer/orgs","repos_url":"https://api.github.com/users/janwidmer/repos","events_url":"https://api.github.com/users/janwidmer/events{/privacy}","received_events_url":"https://api.github.com/users/janwidmer/received_events","type":"User","site_admin":false},"labels":[{"id":413650780,"node_id":"MDU6TGFiZWw0MTM2NTA3ODA=","url":"https://api.github.com/repos/cascornelissen/svg-spritemap-webpack-plugin/labels/enhancement","name":"enhancement","color":"1d76db","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/cascornelissen/svg-spritemap-webpack-plugin/milestones/1","html_url":"https://github.com/cascornelissen/svg-spritemap-webpack-plugin/milestone/1","labels_url":"https://api.github.com/repos/cascornelissen/svg-spritemap-webpack-plugin/milestones/1/labels","id":3559835,"node_id":"MDk6TWlsZXN0b25lMzU1OTgzNQ==","number":1,"title":"3.0.0","description":"","creator":{"login":"cascornelissen","id":1304939,"node_id":"MDQ6VXNlcjEzMDQ5Mzk=","avatar_url":"https://avatars2.githubusercontent.com/u/1304939?v=4","gravatar_id":"","url":"https://api.github.com/users/cascornelissen","html_url":"https://github.com/cascornelissen","followers_url":"https://api.github.com/users/cascornelissen/followers","following_url":"https://api.github.com/users/cascornelissen/following{/other_user}","gists_url":"https://api.github.com/users/cascornelissen/gists{/gist_id}","starred_url":"https://api.github.com/users/cascornelissen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cascornelissen/subscriptions","organizations_url":"https://api.github.com/users/cascornelissen/orgs","repos_url":"https://api.github.com/users/cascornelissen/repos","events_url":"https://api.github.com/users/cascornelissen/events{/privacy}","received_events_url":"https://api.github.com/users/cascornelissen/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":3,"state":"open","created_at":"2018-08-10T06:59:47Z","updated_at":"2018-11-08T15:54:50Z","due_on":"2018-11-09T08:00:00Z","closed_at":null},"comments":10,"created_at":"2018-05-31T10:54:04Z","updated_at":"2018-11-08T15:54:50Z","closed_at":"2018-11-08T15:54:50Z","author_association":"NONE","body":"When using the plugin with a custom `styles` parameter, e.g. `styles: '~icons.scss'`, I would expect to be able to call the map mixin like this:\r\n\r\n```\r\n@import '~svg-spritemap-webpack-plugin/icons';\r\nbackground-image: url(map-get($icons, 'logo'));\r\n```\r\n\r\nCurrently, that gives me an error, ` Undefined variable: \"$icons\"`. Therefore it seems, that the generated map always get's stored in the variable `$sprites`\r\n\r\nSo this is working\r\n\r\n```\r\n@import '~svg-spritemap-webpack-plugin/icons';\r\nbackground-image: url(map-get($sprites, 'logo'));\r\n```\r\n\r\nIs that intended or should the map variable be available under the same same as specified in the `styles` parameter?"}}
{"actor":{"display_login":"cascornelissen"}}