{"action":"created","issue":{"url":"https://api.github.com/repos/addyosmani/grunt-uncss/issues/161","labels_url":"https://api.github.com/repos/addyosmani/grunt-uncss/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/addyosmani/grunt-uncss/issues/161/comments","events_url":"https://api.github.com/repos/addyosmani/grunt-uncss/issues/161/events","html_url":"https://github.com/addyosmani/grunt-uncss/issues/161","id":61252075,"number":161,"title":"Trying to load external css","user":{"login":"amboy00","id":702112,"avatar_url":"https://avatars.githubusercontent.com/u/702112?v=3","gravatar_id":"","url":"https://api.github.com/users/amboy00","html_url":"https://github.com/amboy00","followers_url":"https://api.github.com/users/amboy00/followers","following_url":"https://api.github.com/users/amboy00/following{/other_user}","gists_url":"https://api.github.com/users/amboy00/gists{/gist_id}","starred_url":"https://api.github.com/users/amboy00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amboy00/subscriptions","organizations_url":"https://api.github.com/users/amboy00/orgs","repos_url":"https://api.github.com/users/amboy00/repos","events_url":"https://api.github.com/users/amboy00/events{/privacy}","received_events_url":"https://api.github.com/users/amboy00/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-13T21:28:43Z","updated_at":"2015-03-16T19:48:12Z","closed_at":null,"body":"When I run ```grunt build``` I get the following error:\r\n\r\n```bash\r\nRunning \"uncss:dist\" (uncss) task\r\nFatal error: uncss/node_modules/css: unable to parse http://use.typekit.net/c/8e186a/1w;aw-conqueror-carved-four,2,XzC:P:n4;aw-conqueror-carved-one,2,Xz8:P:n4;ff-tisa-web-pro,2,Vdl:P:i4,Vdk:P:n4,Vdp:P:n7/k?3bb2a6e53c9684ffdc9a9bf71f5b2a623df248a4a1ae63c3259906d27e337db8088990e037ff15fa5219533470fc94a4fb850d98f7454d4a1b61526f720ce022c5d27e978632b20c719ca4fbca254b2394a3a66362c622cb9920f77239a24b167d3e03eb454e0214e2e78d6486aa3de5f4b45b :\r\nmissing '{' near line 13:1\r\n\t8:        \t</head>\r\n\t9:        \t<body>\r\n\t10:        \t\t<h1>403 - Forbidden</h1>\r\n\t11:        \t</body>\r\n\t12:        </html>\r\n\t13:     -> \r\n```\r\n\r\nSo I guess this is coming from the CSS module?  It looks like it's trying to parse a typkit css file that's called via javascript.\r\n\r\nIn my gruntfile, I think I'm pointing at just the css file.\r\n\r\n```javascript\r\n    uncss: {\r\n      dist: {\r\n        options: {\r\n          htmlroot : '<%= config.app %>'\r\n        },\r\n        files: {\r\n          'styles/core.css': ['<%= config.app %>/index.html', '<%= config.app %>/other.html']\r\n        }\r\n      }\r\n    }\r\n```\r\n\r\nThe only place Typekit gets called is in a script call.  I suppose I could point to an actual css file in my proxy to get around it, but I'd rather this compile without that extra step.\r\n\r\nAny ideas what's going on? "},"comment":{"url":"https://api.github.com/repos/addyosmani/grunt-uncss/issues/comments/81897360","html_url":"https://github.com/addyosmani/grunt-uncss/issues/161#issuecomment-81897360","issue_url":"https://api.github.com/repos/addyosmani/grunt-uncss/issues/161","id":81897360,"user":{"login":"XhmikosR","id":349621,"avatar_url":"https://avatars.githubusercontent.com/u/349621?v=3","gravatar_id":"","url":"https://api.github.com/users/XhmikosR","html_url":"https://github.com/XhmikosR","followers_url":"https://api.github.com/users/XhmikosR/followers","following_url":"https://api.github.com/users/XhmikosR/following{/other_user}","gists_url":"https://api.github.com/users/XhmikosR/gists{/gist_id}","starred_url":"https://api.github.com/users/XhmikosR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XhmikosR/subscriptions","organizations_url":"https://api.github.com/users/XhmikosR/orgs","repos_url":"https://api.github.com/users/XhmikosR/repos","events_url":"https://api.github.com/users/XhmikosR/events{/privacy}","received_events_url":"https://api.github.com/users/XhmikosR/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T19:48:12Z","updated_at":"2015-03-16T19:48:12Z","body":"https://github.com/giakki/uncss#from-the-command-line\r\n\r\nAnd try to replicate your config. My guess is it will fail too. Also, make sure you use `/foo/bar.js` and not `foo/bar.js` since uncss has problems with that."}}