{"action":"created","issue":{"url":"https://api.github.com/repos/tcoopman/image-webpack-loader/issues/36","repository_url":"https://api.github.com/repos/tcoopman/image-webpack-loader","labels_url":"https://api.github.com/repos/tcoopman/image-webpack-loader/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/tcoopman/image-webpack-loader/issues/36/comments","events_url":"https://api.github.com/repos/tcoopman/image-webpack-loader/issues/36/events","html_url":"https://github.com/tcoopman/image-webpack-loader/issues/36","id":168087187,"number":36,"title":"How to use image-webpack-loader with url-loader","user":{"login":"aseem2625","id":6055628,"avatar_url":"https://avatars.githubusercontent.com/u/6055628?v=3","gravatar_id":"","url":"https://api.github.com/users/aseem2625","html_url":"https://github.com/aseem2625","followers_url":"https://api.github.com/users/aseem2625/followers","following_url":"https://api.github.com/users/aseem2625/following{/other_user}","gists_url":"https://api.github.com/users/aseem2625/gists{/gist_id}","starred_url":"https://api.github.com/users/aseem2625/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aseem2625/subscriptions","organizations_url":"https://api.github.com/users/aseem2625/orgs","repos_url":"https://api.github.com/users/aseem2625/repos","events_url":"https://api.github.com/users/aseem2625/events{/privacy}","received_events_url":"https://api.github.com/users/aseem2625/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-28T12:48:00Z","updated_at":"2016-10-21T07:27:22Z","closed_at":"2016-10-21T07:27:22Z","body":"I've 2 questions:\r\n\r\n1) After optimizing where does it put the images? I tried dummy 1MB image and after running my webpack, it didn't seem to do anything! I also ran webpack -p for the build but it didn't seem to do anything on my 1MB test.jpg. In fact, it tried compressing svg file which actually was supposed to be embedded in my css file because I use url-loader. And moreover, it corrupted that svg!\r\n\r\n2) How to use it along with url-loader like I can use https://github.com/thetalecrafter/img-loader"},"comment":{"url":"https://api.github.com/repos/tcoopman/image-webpack-loader/issues/comments/255313092","html_url":"https://github.com/tcoopman/image-webpack-loader/issues/36#issuecomment-255313092","issue_url":"https://api.github.com/repos/tcoopman/image-webpack-loader/issues/36","id":255313092,"user":{"login":"pavelloz","id":546845,"avatar_url":"https://avatars.githubusercontent.com/u/546845?v=3","gravatar_id":"","url":"https://api.github.com/users/pavelloz","html_url":"https://github.com/pavelloz","followers_url":"https://api.github.com/users/pavelloz/followers","following_url":"https://api.github.com/users/pavelloz/following{/other_user}","gists_url":"https://api.github.com/users/pavelloz/gists{/gist_id}","starred_url":"https://api.github.com/users/pavelloz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavelloz/subscriptions","organizations_url":"https://api.github.com/users/pavelloz/orgs","repos_url":"https://api.github.com/users/pavelloz/repos","events_url":"https://api.github.com/users/pavelloz/events{/privacy}","received_events_url":"https://api.github.com/users/pavelloz/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T07:27:22Z","updated_at":"2016-10-21T07:27:22Z","body":"I've been using svgo for quite some time and i agree, it sometimes produces corrupted svgs. I would suggest feeding it less agressive optimization options.\r\n\r\nAs for the second question: https://github.com/tcoopman/image-webpack-loader#usage\r\n\r\nBasically, you can use it the same way as any other webpack loader, it will parse the query. "}}
{"actor":{"display_login":"pavelloz"}}