{"action":"created","issue":{"url":"https://api.github.com/repos/parcel-bundler/parcel/issues/1009","repository_url":"https://api.github.com/repos/parcel-bundler/parcel","labels_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/1009/labels{/name}","comments_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/1009/comments","events_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/1009/events","html_url":"https://github.com/parcel-bundler/parcel/issues/1009","id":305917197,"number":1009,"title":"[Bug] @font-face not working after switching to Parcel","user":{"login":"IbrahimButt","id":8332931,"avatar_url":"https://avatars0.githubusercontent.com/u/8332931?v=4","gravatar_id":"","url":"https://api.github.com/users/IbrahimButt","html_url":"https://github.com/IbrahimButt","followers_url":"https://api.github.com/users/IbrahimButt/followers","following_url":"https://api.github.com/users/IbrahimButt/following{/other_user}","gists_url":"https://api.github.com/users/IbrahimButt/gists{/gist_id}","starred_url":"https://api.github.com/users/IbrahimButt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IbrahimButt/subscriptions","organizations_url":"https://api.github.com/users/IbrahimButt/orgs","repos_url":"https://api.github.com/users/IbrahimButt/repos","events_url":"https://api.github.com/users/IbrahimButt/events{/privacy}","received_events_url":"https://api.github.com/users/IbrahimButt/received_events","type":"User","site_admin":false},"labels":[{"id":663703608,"url":"https://api.github.com/repos/parcel-bundler/parcel/labels/:bug:%20Bug","name":":bug: Bug","color":"d93f0b","default":false},{"id":817394837,"url":"https://api.github.com/repos/parcel-bundler/parcel/labels/CSS%20Preprocessing","name":"CSS Preprocessing","color":"f5f5f5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-16T12:54:43Z","updated_at":"2018-05-28T09:43:59Z","closed_at":null,"author_association":"NONE","body":"This is a bug report. I cant figure out how to add the label to an issue?\r\n\r\nI previously setup Gulp to use Sass, Pug and Babel. The fonts loaded fine. I switched to using Parcel now and it's working as expected, except one thing. The fonts arent loading in.\r\n\r\nHere is the entirety of `_fonts.sass`:\r\n\r\n    @font-face\r\n      font-family: \"MyWebFont\"\r\n      src: url(../fonts/economica-regular-otf.eot)\r\n      src: url(../fonts/economica-regular-otf.eot?#iefix) format(\"embedded-opentype\"),\r\n      url(../fonts/economica-regular-otf.woff2) format(\"woff2\"),\r\n      url(../fonts/economica-regular-otf.woff) format(\"woff\"),\r\n      url(../fonts/economica-regular-otf.ttf) format(\"ttf\")\r\n    \r\n    @font-face\r\n      font-family: \"MyWebFontBold\"\r\n      src: url(../fonts/economica-bold-otf.eot)\r\n      src: url(../fonts/economica-bold-otf.eot?#iefix) format(\"embedded-opentype\"),\r\n      url(../fonts/economica-bold-otf.woff2) format(\"woff2\"),\r\n      url(../fonts/economica-bold-otf.woff) format(\"woff\"),\r\n      url(../fonts/economica-bold-otf.ttf) format(\"ttf\")\r\n    \r\n    body\r\n      font-family: 'MyWebFont', 'Titillium Web', sans-serif\r\n      text-rendering: auto\r\n      text-rendering: geometricPrecision\r\n\r\nFolder strcuture is as follows:\r\n\r\n    /dist\r\n    /src\r\n    -- / pug\r\n    --- index.pug\r\n    -- / sass\r\n    --- _fonts.sass\r\n    --- _animations.sass\r\n    --- _blocks.sass\r\n    --- _elements.sass\r\n    --- styles.sass\r\n    -- / js\r\n    --- // all the scripts\r\n    -- / fonts\r\n    --- // all the fonts are here\r\n\r\nYou can find the project files here ('new' branch): [GitHub][2]\r\n\r\n\r\n  [1]: https://parceljs.org/\r\n  [2]: https://github.com/IbrahimButt/Vanilla-JavaScript-Calculator/tree/new\r\n\r\n### 🌍 Your Environment\r\n\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n\r\n| Software         | Version(s) |\r\n| ---------------- | ---------- |\r\n| Parcel           | 1.6.2\r\n| Node             | 8.9.4\r\n| Yarn         | 1.3.2\r\n| Operating System | OS X High Sierra 10.13.3\r\n"},"comment":{"url":"https://api.github.com/repos/parcel-bundler/parcel/issues/comments/392477296","html_url":"https://github.com/parcel-bundler/parcel/issues/1009#issuecomment-392477296","issue_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/1009","id":392477296,"user":{"login":"KatSick","id":13982649,"avatar_url":"https://avatars0.githubusercontent.com/u/13982649?v=4","gravatar_id":"","url":"https://api.github.com/users/KatSick","html_url":"https://github.com/KatSick","followers_url":"https://api.github.com/users/KatSick/followers","following_url":"https://api.github.com/users/KatSick/following{/other_user}","gists_url":"https://api.github.com/users/KatSick/gists{/gist_id}","starred_url":"https://api.github.com/users/KatSick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KatSick/subscriptions","organizations_url":"https://api.github.com/users/KatSick/orgs","repos_url":"https://api.github.com/users/KatSick/repos","events_url":"https://api.github.com/users/KatSick/events{/privacy}","received_events_url":"https://api.github.com/users/KatSick/received_events","type":"User","site_admin":false},"created_at":"2018-05-28T09:43:59Z","updated_at":"2018-05-28T09:43:59Z","author_association":"NONE","body":"Exactly same bug for me. Is there are any workaround?"}}
{"actor":{"display_login":"KatSick"}}