{"action":"closed","issue":{"url":"https://api.github.com/repos/mochajs/mocha/issues/2408","repository_url":"https://api.github.com/repos/mochajs/mocha","labels_url":"https://api.github.com/repos/mochajs/mocha/issues/2408/labels{/name}","comments_url":"https://api.github.com/repos/mochajs/mocha/issues/2408/comments","events_url":"https://api.github.com/repos/mochajs/mocha/issues/2408/events","html_url":"https://github.com/mochajs/mocha/issues/2408","id":169018565,"number":2408,"title":"Compiler not using Babel Plugins?","user":{"login":"alycda","id":1791092,"avatar_url":"https://avatars.githubusercontent.com/u/1791092?v=3","gravatar_id":"","url":"https://api.github.com/users/alycda","html_url":"https://github.com/alycda","followers_url":"https://api.github.com/users/alycda/followers","following_url":"https://api.github.com/users/alycda/following{/other_user}","gists_url":"https://api.github.com/users/alycda/gists{/gist_id}","starred_url":"https://api.github.com/users/alycda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alycda/subscriptions","organizations_url":"https://api.github.com/users/alycda/orgs","repos_url":"https://api.github.com/users/alycda/repos","events_url":"https://api.github.com/users/alycda/events{/privacy}","received_events_url":"https://api.github.com/users/alycda/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-03T00:15:17Z","updated_at":"2016-08-04T01:14:43Z","closed_at":"2016-08-04T01:14:43Z","body":"Shouldn't Mocha be able to compile presets AND plugins?\r\n\r\n[Plugin](https://www.npmjs.com/package/babel-plugin-version-inline)\r\n\r\n```` json\r\n{\r\n  \"presets\": [\r\n    \"es2015\"\r\n  ],\r\n  \"plugins\": [\r\n    \"version-inline\"\r\n  ]\r\n}\r\n````\r\n\r\n`$ mocha --compilers js:babel/register`\r\n\r\n`Uncaught ReferenceError: __VERSION__ is not defined`"}}
{"actor":{"display_login":"ScottFreeCode"}}