{"action":"created","issue":{"url":"https://api.github.com/repos/postcss/postcss-url/issues/40","labels_url":"https://api.github.com/repos/postcss/postcss-url/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/postcss/postcss-url/issues/40/comments","events_url":"https://api.github.com/repos/postcss/postcss-url/issues/40/events","html_url":"https://github.com/postcss/postcss-url/pull/40","id":97647133,"number":40,"title":"Inline fallback query","user":{"login":"Swatinem","id":580492,"avatar_url":"https://avatars.githubusercontent.com/u/580492?v=3","gravatar_id":"","url":"https://api.github.com/users/Swatinem","html_url":"https://github.com/Swatinem","followers_url":"https://api.github.com/users/Swatinem/followers","following_url":"https://api.github.com/users/Swatinem/following{/other_user}","gists_url":"https://api.github.com/users/Swatinem/gists{/gist_id}","starred_url":"https://api.github.com/users/Swatinem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Swatinem/subscriptions","organizations_url":"https://api.github.com/users/Swatinem/orgs","repos_url":"https://api.github.com/users/Swatinem/repos","events_url":"https://api.github.com/users/Swatinem/events{/privacy}","received_events_url":"https://api.github.com/users/Swatinem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-28T08:35:45Z","updated_at":"2015-07-28T08:36:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/postcss/postcss-url/pulls/40","html_url":"https://github.com/postcss/postcss-url/pull/40","diff_url":"https://github.com/postcss/postcss-url/pull/40.diff","patch_url":"https://github.com/postcss/postcss-url/pull/40.patch"},"body":"I was trying to use cssnext to inline (fallback copy) assets and using the fontawesome font.\r\n\r\nThe first commit fixes the issue that it was trying to `fs.existsSync()` the file including the querystring, which ofc does not exist so it was not copying assets as expected.\r\n\r\nThe second commit was when I added `useHash`, because `path.extname` gets confused by dots inside the querystring, so it was adding the wrong extension `.0`.\r\n\r\nWith these fixes, it should now correctly copy and rename (hash) the filenames of fontawesome."},"comment":{"url":"https://api.github.com/repos/postcss/postcss-url/issues/comments/125504750","html_url":"https://github.com/postcss/postcss-url/pull/40#issuecomment-125504750","issue_url":"https://api.github.com/repos/postcss/postcss-url/issues/40","id":125504750,"user":{"login":"Swatinem","id":580492,"avatar_url":"https://avatars.githubusercontent.com/u/580492?v=3","gravatar_id":"","url":"https://api.github.com/users/Swatinem","html_url":"https://github.com/Swatinem","followers_url":"https://api.github.com/users/Swatinem/followers","following_url":"https://api.github.com/users/Swatinem/following{/other_user}","gists_url":"https://api.github.com/users/Swatinem/gists{/gist_id}","starred_url":"https://api.github.com/users/Swatinem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Swatinem/subscriptions","organizations_url":"https://api.github.com/users/Swatinem/orgs","repos_url":"https://api.github.com/users/Swatinem/repos","events_url":"https://api.github.com/users/Swatinem/events{/privacy}","received_events_url":"https://api.github.com/users/Swatinem/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T08:36:36Z","updated_at":"2015-07-28T08:36:36Z","body":"It would be awesome if you could release and also bump the version in cssnext :-)"}}