{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/pulls/5","id":172725794,"html_url":"https://github.com/webpack-contrib/mini-css-extract-plugin/pull/5","diff_url":"https://github.com/webpack-contrib/mini-css-extract-plugin/pull/5.diff","patch_url":"https://github.com/webpack-contrib/mini-css-extract-plugin/pull/5.patch","issue_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/issues/5","number":5,"state":"open","locked":false,"title":"Test case for \"composes\" classes","user":{"login":"eloytoro","id":3936773,"avatar_url":"https://avatars0.githubusercontent.com/u/3936773?v=4","gravatar_id":"","url":"https://api.github.com/users/eloytoro","html_url":"https://github.com/eloytoro","followers_url":"https://api.github.com/users/eloytoro/followers","following_url":"https://api.github.com/users/eloytoro/following{/other_user}","gists_url":"https://api.github.com/users/eloytoro/gists{/gist_id}","starred_url":"https://api.github.com/users/eloytoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eloytoro/subscriptions","organizations_url":"https://api.github.com/users/eloytoro/orgs","repos_url":"https://api.github.com/users/eloytoro/repos","events_url":"https://api.github.com/users/eloytoro/events{/privacy}","received_events_url":"https://api.github.com/users/eloytoro/received_events","type":"User","site_admin":false},"body":"It seems that if you compose to a different class it will import the entire css twice.\r\n\r\n### Input\r\n\r\nasync-1.css\r\n```css\r\n:local .base {\r\n  composes: composed from './async-2.css';\r\n  background: blue;\r\n}\r\n```\r\n\r\nasync-2.css\r\n```css\r\n:local .composed {\r\n  background: green;\r\n}\r\n```\r\n\r\n### Desired output\r\n\r\n1.css\r\n```css\r\n.base {\r\n  background: blue;\r\n}\r\n```\r\n\r\n2.css\r\n```css\r\n.composed {\r\n  background: green;\r\n}\r\n```\r\n\r\n### Current output\r\n\r\n1.css\r\n```css\r\n.composed {\r\n  background: green;\r\n}\r\n\r\n.base {\r\n  background: blue;\r\n}\r\n```\r\n\r\n2.css\r\n```css\r\n.composed {\r\n  background: green;\r\n}\r\n```","created_at":"2018-03-04T15:46:37Z","updated_at":"2018-03-04T15:46:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/pulls/5/commits","review_comments_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/pulls/5/comments","review_comment_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/issues/5/comments","statuses_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/statuses/a7d05b047b19f07c74cc0c241d1289053eb81323","head":{"label":"eloytoro:test/support-composes","ref":"test/support-composes","sha":"a7d05b047b19f07c74cc0c241d1289053eb81323","user":{"login":"eloytoro","id":3936773,"avatar_url":"https://avatars0.githubusercontent.com/u/3936773?v=4","gravatar_id":"","url":"https://api.github.com/users/eloytoro","html_url":"https://github.com/eloytoro","followers_url":"https://api.github.com/users/eloytoro/followers","following_url":"https://api.github.com/users/eloytoro/following{/other_user}","gists_url":"https://api.github.com/users/eloytoro/gists{/gist_id}","starred_url":"https://api.github.com/users/eloytoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eloytoro/subscriptions","organizations_url":"https://api.github.com/users/eloytoro/orgs","repos_url":"https://api.github.com/users/eloytoro/repos","events_url":"https://api.github.com/users/eloytoro/events{/privacy}","received_events_url":"https://api.github.com/users/eloytoro/received_events","type":"User","site_admin":false},"repo":{"id":123801789,"name":"mini-css-extract-plugin","full_name":"eloytoro/mini-css-extract-plugin","owner":{"login":"eloytoro","id":3936773,"avatar_url":"https://avatars0.githubusercontent.com/u/3936773?v=4","gravatar_id":"","url":"https://api.github.com/users/eloytoro","html_url":"https://github.com/eloytoro","followers_url":"https://api.github.com/users/eloytoro/followers","following_url":"https://api.github.com/users/eloytoro/following{/other_user}","gists_url":"https://api.github.com/users/eloytoro/gists{/gist_id}","starred_url":"https://api.github.com/users/eloytoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eloytoro/subscriptions","organizations_url":"https://api.github.com/users/eloytoro/orgs","repos_url":"https://api.github.com/users/eloytoro/repos","events_url":"https://api.github.com/users/eloytoro/events{/privacy}","received_events_url":"https://api.github.com/users/eloytoro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eloytoro/mini-css-extract-plugin","description":"Lightweight CSS extraction plugin","fork":true,"url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin","forks_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/forks","keys_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/teams","hooks_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/hooks","issue_events_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/events","assignees_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/tags","blobs_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/languages","stargazers_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/stargazers","contributors_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/contributors","subscribers_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/subscribers","subscription_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/subscription","commits_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/merges","archive_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/downloads","issues_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/labels{/name}","releases_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/eloytoro/mini-css-extract-plugin/deployments","created_at":"2018-03-04T15:26:56Z","updated_at":"2018-03-04T15:26:57Z","pushed_at":"2018-03-04T15:43:24Z","git_url":"git://github.com/eloytoro/mini-css-extract-plugin.git","ssh_url":"git@github.com:eloytoro/mini-css-extract-plugin.git","clone_url":"https://github.com/eloytoro/mini-css-extract-plugin.git","svn_url":"https://github.com/eloytoro/mini-css-extract-plugin","homepage":"","size":79,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"webpack-contrib:master","ref":"master","sha":"31742323d4a6004ee4a2d2be92f642de01f66cbc","user":{"login":"webpack-contrib","id":25012217,"avatar_url":"https://avatars3.githubusercontent.com/u/25012217?v=4","gravatar_id":"","url":"https://api.github.com/users/webpack-contrib","html_url":"https://github.com/webpack-contrib","followers_url":"https://api.github.com/users/webpack-contrib/followers","following_url":"https://api.github.com/users/webpack-contrib/following{/other_user}","gists_url":"https://api.github.com/users/webpack-contrib/gists{/gist_id}","starred_url":"https://api.github.com/users/webpack-contrib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webpack-contrib/subscriptions","organizations_url":"https://api.github.com/users/webpack-contrib/orgs","repos_url":"https://api.github.com/users/webpack-contrib/repos","events_url":"https://api.github.com/users/webpack-contrib/events{/privacy}","received_events_url":"https://api.github.com/users/webpack-contrib/received_events","type":"Organization","site_admin":false},"repo":{"id":123254500,"name":"mini-css-extract-plugin","full_name":"webpack-contrib/mini-css-extract-plugin","owner":{"login":"webpack-contrib","id":25012217,"avatar_url":"https://avatars3.githubusercontent.com/u/25012217?v=4","gravatar_id":"","url":"https://api.github.com/users/webpack-contrib","html_url":"https://github.com/webpack-contrib","followers_url":"https://api.github.com/users/webpack-contrib/followers","following_url":"https://api.github.com/users/webpack-contrib/following{/other_user}","gists_url":"https://api.github.com/users/webpack-contrib/gists{/gist_id}","starred_url":"https://api.github.com/users/webpack-contrib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webpack-contrib/subscriptions","organizations_url":"https://api.github.com/users/webpack-contrib/orgs","repos_url":"https://api.github.com/users/webpack-contrib/repos","events_url":"https://api.github.com/users/webpack-contrib/events{/privacy}","received_events_url":"https://api.github.com/users/webpack-contrib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/webpack-contrib/mini-css-extract-plugin","description":"Lightweight CSS extraction plugin","fork":false,"url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin","forks_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/forks","keys_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/teams","hooks_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/hooks","issue_events_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/events","assignees_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/tags","blobs_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/languages","stargazers_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/stargazers","contributors_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/contributors","subscribers_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/subscribers","subscription_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/subscription","commits_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/merges","archive_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/downloads","issues_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/labels{/name}","releases_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/deployments","created_at":"2018-02-28T08:33:28Z","updated_at":"2018-03-04T15:41:10Z","pushed_at":"2018-03-04T15:41:22Z","git_url":"git://github.com/webpack-contrib/mini-css-extract-plugin.git","ssh_url":"git@github.com:webpack-contrib/mini-css-extract-plugin.git","clone_url":"https://github.com/webpack-contrib/mini-css-extract-plugin.git","svn_url":"https://github.com/webpack-contrib/mini-css-extract-plugin","homepage":"","size":79,"stargazers_count":32,"watchers_count":32,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":2,"open_issues":4,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/pulls/5"},"html":{"href":"https://github.com/webpack-contrib/mini-css-extract-plugin/pull/5"},"issue":{"href":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/issues/5"},"comments":{"href":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/webpack-contrib/mini-css-extract-plugin/statuses/a7d05b047b19f07c74cc0c241d1289053eb81323"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":43,"deletions":0,"changed_files":6}}
{"actor":{"display_login":"eloytoro"}}