{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel/issues/5374","repository_url":"https://api.github.com/repos/babel/babel","labels_url":"https://api.github.com/repos/babel/babel/issues/5374/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/5374/comments","events_url":"https://api.github.com/repos/babel/babel/issues/5374/events","html_url":"https://github.com/babel/babel/issues/5374","id":210129811,"number":5374,"title":"Get programmatically a list of used plugins","user":{"login":"aight8","id":1138623,"avatar_url":"https://avatars.githubusercontent.com/u/1138623?v=3","gravatar_id":"","url":"https://api.github.com/users/aight8","html_url":"https://github.com/aight8","followers_url":"https://api.github.com/users/aight8/followers","following_url":"https://api.github.com/users/aight8/following{/other_user}","gists_url":"https://api.github.com/users/aight8/gists{/gist_id}","starred_url":"https://api.github.com/users/aight8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aight8/subscriptions","organizations_url":"https://api.github.com/users/aight8/orgs","repos_url":"https://api.github.com/users/aight8/repos","events_url":"https://api.github.com/users/aight8/events{/privacy}","received_events_url":"https://api.github.com/users/aight8/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-24T18:58:37Z","updated_at":"2017-02-24T19:40:01Z","closed_at":null,"body":"# Feature request\r\n\r\nSadly there is currently no way to get a list of the used plugins (**inclusively which are added by presets**). The problem is that for debugging reasons I want to write a checker for the **webpack** package which checks if some module transformer are used.\r\n\r\nAlso optionally it should output the whole plugin list (for example env/latest etc. are dynamical on time) - but for this I must access it programatically!\r\n\r\n**Does the babel team plan to implement a functionality such this to the babel core?**\r\n\r\nPlease help!"},"comment":{"url":"https://api.github.com/repos/babel/babel/issues/comments/282385060","html_url":"https://github.com/babel/babel/issues/5374#issuecomment-282385060","issue_url":"https://api.github.com/repos/babel/babel/issues/5374","id":282385060,"user":{"login":"aight8","id":1138623,"avatar_url":"https://avatars.githubusercontent.com/u/1138623?v=3","gravatar_id":"","url":"https://api.github.com/users/aight8","html_url":"https://github.com/aight8","followers_url":"https://api.github.com/users/aight8/followers","following_url":"https://api.github.com/users/aight8/following{/other_user}","gists_url":"https://api.github.com/users/aight8/gists{/gist_id}","starred_url":"https://api.github.com/users/aight8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aight8/subscriptions","organizations_url":"https://api.github.com/users/aight8/orgs","repos_url":"https://api.github.com/users/aight8/repos","events_url":"https://api.github.com/users/aight8/events{/privacy}","received_events_url":"https://api.github.com/users/aight8/received_events","type":"User","site_admin":false},"created_at":"2017-02-24T19:40:01Z","updated_at":"2017-02-24T19:40:01Z","body":"You have right. Then let's make a strategy change. Let just name the plugins internally, they have dozens of props which, can we just add a **name** prop to it? The most of the plugins are managed by babel luckily and it wouldn't BC-break anything.\r\n\r\njust by the way: What happen if you add a plugin multiple times (for example by different presets)? Does the second plugin instance run but find nothing to transform?"}}
{"actor":{"display_login":"aight8"}}