{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/elixir/issues/414","repository_url":"https://api.github.com/repos/laravel/elixir","labels_url":"https://api.github.com/repos/laravel/elixir/issues/414/labels{/name}","comments_url":"https://api.github.com/repos/laravel/elixir/issues/414/comments","events_url":"https://api.github.com/repos/laravel/elixir/issues/414/events","html_url":"https://github.com/laravel/elixir/issues/414","id":127093028,"number":414,"title":"Versioning inserts wrong path if relative","user":{"login":"Propaganistas","id":6680176,"avatar_url":"https://avatars.githubusercontent.com/u/6680176?v=3","gravatar_id":"","url":"https://api.github.com/users/Propaganistas","html_url":"https://github.com/Propaganistas","followers_url":"https://api.github.com/users/Propaganistas/followers","following_url":"https://api.github.com/users/Propaganistas/following{/other_user}","gists_url":"https://api.github.com/users/Propaganistas/gists{/gist_id}","starred_url":"https://api.github.com/users/Propaganistas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Propaganistas/subscriptions","organizations_url":"https://api.github.com/users/Propaganistas/orgs","repos_url":"https://api.github.com/users/Propaganistas/repos","events_url":"https://api.github.com/users/Propaganistas/events{/privacy}","received_events_url":"https://api.github.com/users/Propaganistas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-17T12:49:36Z","updated_at":"2016-02-21T15:57:57Z","closed_at":null,"body":"Hi\r\n\r\nWhen versioning a css file that has relative paths (e.g. FontAwesome) to versioned files (fonts, images), paths get replaced wrongly:\r\n\r\n`versioned font-awesome.css`:\r\n```css\r\n@font-face {\r\n  font-family: 'FontAwesome';\r\n  src: url('../build//fonts/fontawesome-webfont-32400f4e08.eot?v=4.5.0');\r\n  src: url('../build//fonts/fontawesome-webfont-32400f4e08.eot?#iefix&v=4.5.0') format('embedded-opentype'), url('../build//fonts/fontawesome-webfont-db812d8a70.woff2?v=4.5.0') format('woff2'), url('../build//fonts/fontawesome-webfont-a35720c2fe.woff?v=4.5.0') format('woff'), url('../build//fonts/fontawesome-webfont-a3de2170e4.ttf?v=4.5.0') format('truetype'), url('../build//fonts/fontawesome-webfont-f775f9cca8.svg?v=4.5.0#fontawesomeregular') format('svg');\r\n  font-weight: normal;\r\n  font-style: normal;\r\n}\r\n```\r\nIn this example `build//`is actually superfluous, since the relative path already implies being in the build directory."},"comment":{"url":"https://api.github.com/repos/laravel/elixir/issues/comments/186849307","html_url":"https://github.com/laravel/elixir/issues/414#issuecomment-186849307","issue_url":"https://api.github.com/repos/laravel/elixir/issues/414","id":186849307,"user":{"login":"jacobnijgh","id":1338333,"avatar_url":"https://avatars.githubusercontent.com/u/1338333?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobnijgh","html_url":"https://github.com/jacobnijgh","followers_url":"https://api.github.com/users/jacobnijgh/followers","following_url":"https://api.github.com/users/jacobnijgh/following{/other_user}","gists_url":"https://api.github.com/users/jacobnijgh/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobnijgh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobnijgh/subscriptions","organizations_url":"https://api.github.com/users/jacobnijgh/orgs","repos_url":"https://api.github.com/users/jacobnijgh/repos","events_url":"https://api.github.com/users/jacobnijgh/events{/privacy}","received_events_url":"https://api.github.com/users/jacobnijgh/received_events","type":"User","site_admin":false},"created_at":"2016-02-21T15:57:57Z","updated_at":"2016-02-21T15:57:57Z","body":"+1"}}