{"action":"created","issue":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/725","repository_url":"https://api.github.com/repos/facebookincubator/create-react-app","labels_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/725/labels{/name}","comments_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/725/comments","events_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/725/events","html_url":"https://github.com/facebookincubator/create-react-app/issues/725","id":178948961,"number":725,"title":"Webpack generates wrong paths for fonts in css","user":{"login":"iRoachie","id":5962998,"avatar_url":"https://avatars.githubusercontent.com/u/5962998?v=3","gravatar_id":"","url":"https://api.github.com/users/iRoachie","html_url":"https://github.com/iRoachie","followers_url":"https://api.github.com/users/iRoachie/followers","following_url":"https://api.github.com/users/iRoachie/following{/other_user}","gists_url":"https://api.github.com/users/iRoachie/gists{/gist_id}","starred_url":"https://api.github.com/users/iRoachie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iRoachie/subscriptions","organizations_url":"https://api.github.com/users/iRoachie/orgs","repos_url":"https://api.github.com/users/iRoachie/repos","events_url":"https://api.github.com/users/iRoachie/events{/privacy}","received_events_url":"https://api.github.com/users/iRoachie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-23T18:53:58Z","updated_at":"2016-09-23T20:18:20Z","closed_at":null,"body":"Referencing a font-face for a local file produces wrong paths when using run build. \r\n\r\nExample structure: \r\n```\r\n/src\r\n  /assets\r\n    /fonts\r\n      fonts.css\r\n      font.ttf\r\n```\r\n\r\nIn fonts.css i reference the font as `url(./font.ttf)` since they're in the same directory. After run build it produces the following css in static/css.\r\n\r\n`url(./static/media/font.ttf)`\r\n\r\nbuild folder structure\r\n```\r\n/static\r\n  /css\r\n    main.css\r\n  /media\r\n    font.ttf\r\n```\r\nSo the css is looking for the font file in `css/static/media/font.tff`, when it should really be `../media/font.ttf`\r\n"},"comment":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/comments/249292144","html_url":"https://github.com/facebookincubator/create-react-app/issues/725#issuecomment-249292144","issue_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/725","id":249292144,"user":{"login":"iRoachie","id":5962998,"avatar_url":"https://avatars.githubusercontent.com/u/5962998?v=3","gravatar_id":"","url":"https://api.github.com/users/iRoachie","html_url":"https://github.com/iRoachie","followers_url":"https://api.github.com/users/iRoachie/followers","following_url":"https://api.github.com/users/iRoachie/following{/other_user}","gists_url":"https://api.github.com/users/iRoachie/gists{/gist_id}","starred_url":"https://api.github.com/users/iRoachie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iRoachie/subscriptions","organizations_url":"https://api.github.com/users/iRoachie/orgs","repos_url":"https://api.github.com/users/iRoachie/repos","events_url":"https://api.github.com/users/iRoachie/events{/privacy}","received_events_url":"https://api.github.com/users/iRoachie/received_events","type":"User","site_admin":false},"created_at":"2016-09-23T20:18:20Z","updated_at":"2016-09-23T20:18:20Z","body":"./"}}
{"actor":{"display_login":"iRoachie"}}