{"action":"opened","number":81,"pull_request":{"url":"https://api.github.com/repos/philcockfield/ui-harness/pulls/81","id":74574847,"html_url":"https://github.com/philcockfield/ui-harness/pull/81","diff_url":"https://github.com/philcockfield/ui-harness/pull/81.diff","patch_url":"https://github.com/philcockfield/ui-harness/pull/81.patch","issue_url":"https://api.github.com/repos/philcockfield/ui-harness/issues/81","number":81,"state":"open","locked":false,"title":"Support importing css and css modules from specs","user":{"login":"frederickfogerty","id":615334,"avatar_url":"https://avatars.githubusercontent.com/u/615334?v=3","gravatar_id":"","url":"https://api.github.com/users/frederickfogerty","html_url":"https://github.com/frederickfogerty","followers_url":"https://api.github.com/users/frederickfogerty/followers","following_url":"https://api.github.com/users/frederickfogerty/following{/other_user}","gists_url":"https://api.github.com/users/frederickfogerty/gists{/gist_id}","starred_url":"https://api.github.com/users/frederickfogerty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frederickfogerty/subscriptions","organizations_url":"https://api.github.com/users/frederickfogerty/orgs","repos_url":"https://api.github.com/users/frederickfogerty/repos","events_url":"https://api.github.com/users/frederickfogerty/events{/privacy}","received_events_url":"https://api.github.com/users/frederickfogerty/received_events","type":"User","site_admin":false},"body":"I thought this had been sitting around for a while, so I decided to fix it.\r\n\r\n----\r\n\r\nThis is an extension of #52. I opened a new PR as I had to rebase and didn't want to force push.\r\n\r\nThis builds on work done by @philcockfield, all I did was fix a bug.\r\n\r\nBasically, as we wanted to support normal css files **and** css modules at the same time, webpack was matching the CSS Module files to the CSS Modules loader *and then to the normal css loader* causing the CSS to be parsed twice. The second parsing was failing as the CSS was now JS, and could not be parsed as CSS (understandably). \r\n\r\nSimply, I just stopped the module files being parsed by the normal css loader using some regex hacking. For more information, look at the (extensive) comment in webpack.config.js, around L155.\r\n\r\n🎉 ","created_at":"2016-06-21T09:04:55Z","updated_at":"2016-06-21T09:04:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/philcockfield/ui-harness/pulls/81/commits","review_comments_url":"https://api.github.com/repos/philcockfield/ui-harness/pulls/81/comments","review_comment_url":"https://api.github.com/repos/philcockfield/ui-harness/pulls/comments{/number}","comments_url":"https://api.github.com/repos/philcockfield/ui-harness/issues/81/comments","statuses_url":"https://api.github.com/repos/philcockfield/ui-harness/statuses/19b34980120aea62675f4f1fc80af0bb98ded01f","head":{"label":"philcockfield:css-loader-rebased","ref":"css-loader-rebased","sha":"19b34980120aea62675f4f1fc80af0bb98ded01f","user":{"login":"philcockfield","id":185555,"avatar_url":"https://avatars.githubusercontent.com/u/185555?v=3","gravatar_id":"","url":"https://api.github.com/users/philcockfield","html_url":"https://github.com/philcockfield","followers_url":"https://api.github.com/users/philcockfield/followers","following_url":"https://api.github.com/users/philcockfield/following{/other_user}","gists_url":"https://api.github.com/users/philcockfield/gists{/gist_id}","starred_url":"https://api.github.com/users/philcockfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philcockfield/subscriptions","organizations_url":"https://api.github.com/users/philcockfield/orgs","repos_url":"https://api.github.com/users/philcockfield/repos","events_url":"https://api.github.com/users/philcockfield/events{/privacy}","received_events_url":"https://api.github.com/users/philcockfield/received_events","type":"User","site_admin":false},"repo":{"id":38277438,"name":"ui-harness","full_name":"philcockfield/ui-harness","owner":{"login":"philcockfield","id":185555,"avatar_url":"https://avatars.githubusercontent.com/u/185555?v=3","gravatar_id":"","url":"https://api.github.com/users/philcockfield","html_url":"https://github.com/philcockfield","followers_url":"https://api.github.com/users/philcockfield/followers","following_url":"https://api.github.com/users/philcockfield/following{/other_user}","gists_url":"https://api.github.com/users/philcockfield/gists{/gist_id}","starred_url":"https://api.github.com/users/philcockfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philcockfield/subscriptions","organizations_url":"https://api.github.com/users/philcockfield/orgs","repos_url":"https://api.github.com/users/philcockfield/repos","events_url":"https://api.github.com/users/philcockfield/events{/privacy}","received_events_url":"https://api.github.com/users/philcockfield/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/philcockfield/ui-harness","description":"Create, isolate and test modular UI components in React.","fork":false,"url":"https://api.github.com/repos/philcockfield/ui-harness","forks_url":"https://api.github.com/repos/philcockfield/ui-harness/forks","keys_url":"https://api.github.com/repos/philcockfield/ui-harness/keys{/key_id}","collaborators_url":"https://api.github.com/repos/philcockfield/ui-harness/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/philcockfield/ui-harness/teams","hooks_url":"https://api.github.com/repos/philcockfield/ui-harness/hooks","issue_events_url":"https://api.github.com/repos/philcockfield/ui-harness/issues/events{/number}","events_url":"https://api.github.com/repos/philcockfield/ui-harness/events","assignees_url":"https://api.github.com/repos/philcockfield/ui-harness/assignees{/user}","branches_url":"https://api.github.com/repos/philcockfield/ui-harness/branches{/branch}","tags_url":"https://api.github.com/repos/philcockfield/ui-harness/tags","blobs_url":"https://api.github.com/repos/philcockfield/ui-harness/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/philcockfield/ui-harness/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/philcockfield/ui-harness/git/refs{/sha}","trees_url":"https://api.github.com/repos/philcockfield/ui-harness/git/trees{/sha}","statuses_url":"https://api.github.com/repos/philcockfield/ui-harness/statuses/{sha}","languages_url":"https://api.github.com/repos/philcockfield/ui-harness/languages","stargazers_url":"https://api.github.com/repos/philcockfield/ui-harness/stargazers","contributors_url":"https://api.github.com/repos/philcockfield/ui-harness/contributors","subscribers_url":"https://api.github.com/repos/philcockfield/ui-harness/subscribers","subscription_url":"https://api.github.com/repos/philcockfield/ui-harness/subscription","commits_url":"https://api.github.com/repos/philcockfield/ui-harness/commits{/sha}","git_commits_url":"https://api.github.com/repos/philcockfield/ui-harness/git/commits{/sha}","comments_url":"https://api.github.com/repos/philcockfield/ui-harness/comments{/number}","issue_comment_url":"https://api.github.com/repos/philcockfield/ui-harness/issues/comments{/number}","contents_url":"https://api.github.com/repos/philcockfield/ui-harness/contents/{+path}","compare_url":"https://api.github.com/repos/philcockfield/ui-harness/compare/{base}...{head}","merges_url":"https://api.github.com/repos/philcockfield/ui-harness/merges","archive_url":"https://api.github.com/repos/philcockfield/ui-harness/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/philcockfield/ui-harness/downloads","issues_url":"https://api.github.com/repos/philcockfield/ui-harness/issues{/number}","pulls_url":"https://api.github.com/repos/philcockfield/ui-harness/pulls{/number}","milestones_url":"https://api.github.com/repos/philcockfield/ui-harness/milestones{/number}","notifications_url":"https://api.github.com/repos/philcockfield/ui-harness/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/philcockfield/ui-harness/labels{/name}","releases_url":"https://api.github.com/repos/philcockfield/ui-harness/releases{/id}","deployments_url":"https://api.github.com/repos/philcockfield/ui-harness/deployments","created_at":"2015-06-29T23:53:19Z","updated_at":"2016-06-19T00:29:01Z","pushed_at":"2016-06-21T09:04:55Z","git_url":"git://github.com/philcockfield/ui-harness.git","ssh_url":"git@github.com:philcockfield/ui-harness.git","clone_url":"https://github.com/philcockfield/ui-harness.git","svn_url":"https://github.com/philcockfield/ui-harness","homepage":"http://uiharness.com","size":748,"stargazers_count":216,"watchers_count":216,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":18,"forks":6,"open_issues":18,"watchers":216,"default_branch":"master"}},"base":{"label":"philcockfield:master","ref":"master","sha":"52a8987dad536f5b7678c6e13632ced561176435","user":{"login":"philcockfield","id":185555,"avatar_url":"https://avatars.githubusercontent.com/u/185555?v=3","gravatar_id":"","url":"https://api.github.com/users/philcockfield","html_url":"https://github.com/philcockfield","followers_url":"https://api.github.com/users/philcockfield/followers","following_url":"https://api.github.com/users/philcockfield/following{/other_user}","gists_url":"https://api.github.com/users/philcockfield/gists{/gist_id}","starred_url":"https://api.github.com/users/philcockfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philcockfield/subscriptions","organizations_url":"https://api.github.com/users/philcockfield/orgs","repos_url":"https://api.github.com/users/philcockfield/repos","events_url":"https://api.github.com/users/philcockfield/events{/privacy}","received_events_url":"https://api.github.com/users/philcockfield/received_events","type":"User","site_admin":false},"repo":{"id":38277438,"name":"ui-harness","full_name":"philcockfield/ui-harness","owner":{"login":"philcockfield","id":185555,"avatar_url":"https://avatars.githubusercontent.com/u/185555?v=3","gravatar_id":"","url":"https://api.github.com/users/philcockfield","html_url":"https://github.com/philcockfield","followers_url":"https://api.github.com/users/philcockfield/followers","following_url":"https://api.github.com/users/philcockfield/following{/other_user}","gists_url":"https://api.github.com/users/philcockfield/gists{/gist_id}","starred_url":"https://api.github.com/users/philcockfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philcockfield/subscriptions","organizations_url":"https://api.github.com/users/philcockfield/orgs","repos_url":"https://api.github.com/users/philcockfield/repos","events_url":"https://api.github.com/users/philcockfield/events{/privacy}","received_events_url":"https://api.github.com/users/philcockfield/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/philcockfield/ui-harness","description":"Create, isolate and test modular UI components in React.","fork":false,"url":"https://api.github.com/repos/philcockfield/ui-harness","forks_url":"https://api.github.com/repos/philcockfield/ui-harness/forks","keys_url":"https://api.github.com/repos/philcockfield/ui-harness/keys{/key_id}","collaborators_url":"https://api.github.com/repos/philcockfield/ui-harness/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/philcockfield/ui-harness/teams","hooks_url":"https://api.github.com/repos/philcockfield/ui-harness/hooks","issue_events_url":"https://api.github.com/repos/philcockfield/ui-harness/issues/events{/number}","events_url":"https://api.github.com/repos/philcockfield/ui-harness/events","assignees_url":"https://api.github.com/repos/philcockfield/ui-harness/assignees{/user}","branches_url":"https://api.github.com/repos/philcockfield/ui-harness/branches{/branch}","tags_url":"https://api.github.com/repos/philcockfield/ui-harness/tags","blobs_url":"https://api.github.com/repos/philcockfield/ui-harness/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/philcockfield/ui-harness/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/philcockfield/ui-harness/git/refs{/sha}","trees_url":"https://api.github.com/repos/philcockfield/ui-harness/git/trees{/sha}","statuses_url":"https://api.github.com/repos/philcockfield/ui-harness/statuses/{sha}","languages_url":"https://api.github.com/repos/philcockfield/ui-harness/languages","stargazers_url":"https://api.github.com/repos/philcockfield/ui-harness/stargazers","contributors_url":"https://api.github.com/repos/philcockfield/ui-harness/contributors","subscribers_url":"https://api.github.com/repos/philcockfield/ui-harness/subscribers","subscription_url":"https://api.github.com/repos/philcockfield/ui-harness/subscription","commits_url":"https://api.github.com/repos/philcockfield/ui-harness/commits{/sha}","git_commits_url":"https://api.github.com/repos/philcockfield/ui-harness/git/commits{/sha}","comments_url":"https://api.github.com/repos/philcockfield/ui-harness/comments{/number}","issue_comment_url":"https://api.github.com/repos/philcockfield/ui-harness/issues/comments{/number}","contents_url":"https://api.github.com/repos/philcockfield/ui-harness/contents/{+path}","compare_url":"https://api.github.com/repos/philcockfield/ui-harness/compare/{base}...{head}","merges_url":"https://api.github.com/repos/philcockfield/ui-harness/merges","archive_url":"https://api.github.com/repos/philcockfield/ui-harness/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/philcockfield/ui-harness/downloads","issues_url":"https://api.github.com/repos/philcockfield/ui-harness/issues{/number}","pulls_url":"https://api.github.com/repos/philcockfield/ui-harness/pulls{/number}","milestones_url":"https://api.github.com/repos/philcockfield/ui-harness/milestones{/number}","notifications_url":"https://api.github.com/repos/philcockfield/ui-harness/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/philcockfield/ui-harness/labels{/name}","releases_url":"https://api.github.com/repos/philcockfield/ui-harness/releases{/id}","deployments_url":"https://api.github.com/repos/philcockfield/ui-harness/deployments","created_at":"2015-06-29T23:53:19Z","updated_at":"2016-06-19T00:29:01Z","pushed_at":"2016-06-21T09:04:55Z","git_url":"git://github.com/philcockfield/ui-harness.git","ssh_url":"git@github.com:philcockfield/ui-harness.git","clone_url":"https://github.com/philcockfield/ui-harness.git","svn_url":"https://github.com/philcockfield/ui-harness","homepage":"http://uiharness.com","size":748,"stargazers_count":216,"watchers_count":216,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":18,"forks":6,"open_issues":18,"watchers":216,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/philcockfield/ui-harness/pulls/81"},"html":{"href":"https://github.com/philcockfield/ui-harness/pull/81"},"issue":{"href":"https://api.github.com/repos/philcockfield/ui-harness/issues/81"},"comments":{"href":"https://api.github.com/repos/philcockfield/ui-harness/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/philcockfield/ui-harness/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/philcockfield/ui-harness/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/philcockfield/ui-harness/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/philcockfield/ui-harness/statuses/19b34980120aea62675f4f1fc80af0bb98ded01f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":15,"additions":231,"deletions":2,"changed_files":12}}
{"actor":{"display_login":"frederickfogerty"}}