{"action":"created","issue":{"url":"https://api.github.com/repos/postcss/postcss-import/issues/157","labels_url":"https://api.github.com/repos/postcss/postcss-import/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/postcss/postcss-import/issues/157/comments","events_url":"https://api.github.com/repos/postcss/postcss-import/issues/157/events","html_url":"https://github.com/postcss/postcss-import/pull/157","id":128814547,"number":157,"title":"Add more sensitive plugins tests","user":{"login":"TrySound","id":5635476,"avatar_url":"https://avatars.githubusercontent.com/u/5635476?v=3","gravatar_id":"","url":"https://api.github.com/users/TrySound","html_url":"https://github.com/TrySound","followers_url":"https://api.github.com/users/TrySound/followers","following_url":"https://api.github.com/users/TrySound/following{/other_user}","gists_url":"https://api.github.com/users/TrySound/gists{/gist_id}","starred_url":"https://api.github.com/users/TrySound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrySound/subscriptions","organizations_url":"https://api.github.com/users/TrySound/orgs","repos_url":"https://api.github.com/users/TrySound/repos","events_url":"https://api.github.com/users/TrySound/events{/privacy}","received_events_url":"https://api.github.com/users/TrySound/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2016-01-26T13:05:13Z","updated_at":"2016-01-27T04:36:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/postcss/postcss-import/pulls/157","html_url":"https://github.com/postcss/postcss-import/pull/157","diff_url":"https://github.com/postcss/postcss-import/pull/157.diff","patch_url":"https://github.com/postcss/postcss-import/pull/157.patch"},"body":"There are some problems with plugins.\r\n- They do not process root file (it was in before `dev` branch).\r\n- New arch manipulate chunks and to process ast by plugins need to rebuild new ast, apply plugins and then parse in chunks again.\r\n- Ast is processed by plugins many times depends on how deep imports. It becomes bigger performace problem when we parse chuncks every time.\r\n\r\nI think the best decision is remove `plugins` option."},"comment":{"url":"https://api.github.com/repos/postcss/postcss-import/issues/comments/175388938","html_url":"https://github.com/postcss/postcss-import/pull/157#issuecomment-175388938","issue_url":"https://api.github.com/repos/postcss/postcss-import/issues/157","id":175388938,"user":{"login":"TrySound","id":5635476,"avatar_url":"https://avatars.githubusercontent.com/u/5635476?v=3","gravatar_id":"","url":"https://api.github.com/users/TrySound","html_url":"https://github.com/TrySound","followers_url":"https://api.github.com/users/TrySound/followers","following_url":"https://api.github.com/users/TrySound/following{/other_user}","gists_url":"https://api.github.com/users/TrySound/gists{/gist_id}","starred_url":"https://api.github.com/users/TrySound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrySound/subscriptions","organizations_url":"https://api.github.com/users/TrySound/orgs","repos_url":"https://api.github.com/users/TrySound/repos","events_url":"https://api.github.com/users/TrySound/events{/privacy}","received_events_url":"https://api.github.com/users/TrySound/received_events","type":"User","site_admin":false},"created_at":"2016-01-27T04:36:45Z","updated_at":"2016-01-27T04:36:45Z","body":"I'll do that. But this won't let to use imported variables. BTW with current way we are not able too, caz they definitions are removed before adding to ast."}}