{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/underreact/issues/76","repository_url":"https://api.github.com/repos/mapbox/underreact","labels_url":"https://api.github.com/repos/mapbox/underreact/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/underreact/issues/76/comments","events_url":"https://api.github.com/repos/mapbox/underreact/issues/76/events","html_url":"https://github.com/mapbox/underreact/issues/76","id":384682750,"node_id":"MDU6SXNzdWUzODQ2ODI3NTA=","number":76,"title":"Svg React transform and CSS loader","user":{"login":"kepta","id":6966254,"node_id":"MDQ6VXNlcjY5NjYyNTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6966254?v=4","gravatar_id":"","url":"https://api.github.com/users/kepta","html_url":"https://github.com/kepta","followers_url":"https://api.github.com/users/kepta/followers","following_url":"https://api.github.com/users/kepta/following{/other_user}","gists_url":"https://api.github.com/users/kepta/gists{/gist_id}","starred_url":"https://api.github.com/users/kepta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kepta/subscriptions","organizations_url":"https://api.github.com/users/kepta/orgs","repos_url":"https://api.github.com/users/kepta/repos","events_url":"https://api.github.com/users/kepta/events{/privacy}","received_events_url":"https://api.github.com/users/kepta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-27T08:47:25Z","updated_at":"2018-11-27T16:16:05Z","closed_at":null,"author_association":"MEMBER","body":"It seems like `url(xyz.svg)` in a CSS  is triggering `svg-react-transformer-loader` to convert it into a JS code and causing problems. The output CSS looks something like this:\r\n<img width=\"553\" alt=\"image\" src=\"https://user-images.githubusercontent.com/6966254/49069127-822a9600-f24e-11e8-9924-f0e9290e9f37.png\">\r\n\r\nI am not sure what would be the best way to prevent handling of this type of SVG import with `react-transformer-loader`. @davidtheclark any thoughts ?"},"comment":{"url":"https://api.github.com/repos/mapbox/underreact/issues/comments/442118728","html_url":"https://github.com/mapbox/underreact/issues/76#issuecomment-442118728","issue_url":"https://api.github.com/repos/mapbox/underreact/issues/76","id":442118728,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjExODcyOA==","user":{"login":"kepta","id":6966254,"node_id":"MDQ6VXNlcjY5NjYyNTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6966254?v=4","gravatar_id":"","url":"https://api.github.com/users/kepta","html_url":"https://github.com/kepta","followers_url":"https://api.github.com/users/kepta/followers","following_url":"https://api.github.com/users/kepta/following{/other_user}","gists_url":"https://api.github.com/users/kepta/gists{/gist_id}","starred_url":"https://api.github.com/users/kepta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kepta/subscriptions","organizations_url":"https://api.github.com/users/kepta/orgs","repos_url":"https://api.github.com/users/kepta/repos","events_url":"https://api.github.com/users/kepta/events{/privacy}","received_events_url":"https://api.github.com/users/kepta/received_events","type":"User","site_admin":false},"created_at":"2018-11-27T16:16:05Z","updated_at":"2018-11-27T16:16:05Z","author_association":"MEMBER","body":"Oh looks like there is an option https://webpack.js.org/configuration/module/#rule-issuer exactly for this problem."}}
{"actor":{"display_login":"kepta"}}