{"action":"opened","issue":{"url":"https://api.github.com/repos/igorklopov/enclose/issues/13","labels_url":"https://api.github.com/repos/igorklopov/enclose/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/igorklopov/enclose/issues/13/comments","events_url":"https://api.github.com/repos/igorklopov/enclose/issues/13/events","html_url":"https://github.com/igorklopov/enclose/issues/13","id":63279913,"number":13,"title":"Babel support","user":{"login":"Globegitter","id":2580254,"avatar_url":"https://avatars.githubusercontent.com/u/2580254?v=3","gravatar_id":"","url":"https://api.github.com/users/Globegitter","html_url":"https://github.com/Globegitter","followers_url":"https://api.github.com/users/Globegitter/followers","following_url":"https://api.github.com/users/Globegitter/following{/other_user}","gists_url":"https://api.github.com/users/Globegitter/gists{/gist_id}","starred_url":"https://api.github.com/users/Globegitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Globegitter/subscriptions","organizations_url":"https://api.github.com/users/Globegitter/orgs","repos_url":"https://api.github.com/users/Globegitter/repos","events_url":"https://api.github.com/users/Globegitter/events{/privacy}","received_events_url":"https://api.github.com/users/Globegitter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-20T18:34:47Z","updated_at":"2015-03-20T18:34:47Z","closed_at":null,"body":"In most of my projects that are not performance critical I am using [Babel](https://github.com/babel/babel). Just tried out enclose one of these projects but it has issues at least with ES7 syntax, e.g. `module.exports = async function (cmdArgs) {`.\r\n\r\nThe file that I am building has babel defined as follows:\r\n\r\n```\r\n//run.js\r\nrequire('babel/register')({\r\n  experimental: true,\r\n  loose: true\r\n});\r\n\r\nvar nodegitFile = require('./nodegit');\r\n\r\nnodegitFile(['tests/fixtures/example.txt']);\r\n```\r\n\r\nand running `node run.js` works fine.\r\n\r\nAny way to get enclose to support Babel?"}}