{"action":"created","issue":{"url":"https://api.github.com/repos/zeit/next.js/issues/3825","repository_url":"https://api.github.com/repos/zeit/next.js","labels_url":"https://api.github.com/repos/zeit/next.js/issues/3825/labels{/name}","comments_url":"https://api.github.com/repos/zeit/next.js/issues/3825/comments","events_url":"https://api.github.com/repos/zeit/next.js/issues/3825/events","html_url":"https://github.com/zeit/next.js/issues/3825","id":297825096,"number":3825,"title":"Possible to use local semantic UI css file?","user":{"login":"jaqua","id":17876709,"avatar_url":"https://avatars1.githubusercontent.com/u/17876709?v=4","gravatar_id":"","url":"https://api.github.com/users/jaqua","html_url":"https://github.com/jaqua","followers_url":"https://api.github.com/users/jaqua/followers","following_url":"https://api.github.com/users/jaqua/following{/other_user}","gists_url":"https://api.github.com/users/jaqua/gists{/gist_id}","starred_url":"https://api.github.com/users/jaqua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaqua/subscriptions","organizations_url":"https://api.github.com/users/jaqua/orgs","repos_url":"https://api.github.com/users/jaqua/repos","events_url":"https://api.github.com/users/jaqua/events{/privacy}","received_events_url":"https://api.github.com/users/jaqua/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-16T15:37:22Z","updated_at":"2018-03-31T04:34:34Z","closed_at":"2018-02-20T13:11:21Z","author_association":"NONE","body":"Now as nextJS v5 is released, I hoped to be able to use local (!) semantic ui css file instead of using CDN like shown in the examples.\r\n\r\nSo this is how I tried to do it:\r\n\r\n**next.config.js**\r\n\r\n    const withCSS = require('@zeit/next-css')\r\n    module.exports = withCSS()\r\n\r\n**Header.js**\r\n\r\n    import Head from 'next/head'\r\n    import 'semantic-ui-css/semantic.min.css'\r\n\r\n    export const Header = props => {\r\n      return (\r\n        <Head>\r\n          <meta http-equiv='content-type' content='text/html;charset=UTF-8' />\r\n          <meta charset='utf-8' />\r\n          <title>{props.title}</title>\r\n          <link rel='icon' href='/static/favicon.ico' />\r\n        </Head>\r\n      )\r\n    }\r\n\r\nBut with this I do get some errors, which look like this:\r\n\r\n    error  in ./node_modules/semantic-ui-css/themes/default/assets/fonts/icons.ttf\r\n\r\n    Module parse failed: Unexpected character '' (1:0)\r\n    You may need an appropriate loader to handle this file type.\r\n    (Source code omitted for this binary file)\r\n\r\n    @ ./node_modules/semantic-ui-css/semantic.min.css 7:127119-127169\r\n    @ ./components/Header.js\r\n    @ ./pages/index.js\r\n    @ multi ./pages/index.js\r\n\r\nI'm not quite sure if it is still impossible to use a local semantic ui css file or if I need to extend some configuration...\r\n"},"comment":{"url":"https://api.github.com/repos/zeit/next.js/issues/comments/377665367","html_url":"https://github.com/zeit/next.js/issues/3825#issuecomment-377665367","issue_url":"https://api.github.com/repos/zeit/next.js/issues/3825","id":377665367,"user":{"login":"kaym0","id":19740315,"avatar_url":"https://avatars3.githubusercontent.com/u/19740315?v=4","gravatar_id":"","url":"https://api.github.com/users/kaym0","html_url":"https://github.com/kaym0","followers_url":"https://api.github.com/users/kaym0/followers","following_url":"https://api.github.com/users/kaym0/following{/other_user}","gists_url":"https://api.github.com/users/kaym0/gists{/gist_id}","starred_url":"https://api.github.com/users/kaym0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaym0/subscriptions","organizations_url":"https://api.github.com/users/kaym0/orgs","repos_url":"https://api.github.com/users/kaym0/repos","events_url":"https://api.github.com/users/kaym0/events{/privacy}","received_events_url":"https://api.github.com/users/kaym0/received_events","type":"User","site_admin":false},"created_at":"2018-03-31T04:34:34Z","updated_at":"2018-03-31T04:34:34Z","author_association":"NONE","body":"@torinagrippa why did you say you have it working and not post solution, please post the solution"}}
{"actor":{"display_login":"kaym0"}}