{"action":"created","issue":{"url":"https://api.github.com/repos/michaelzoidl/babel-root-import/issues/4","labels_url":"https://api.github.com/repos/michaelzoidl/babel-root-import/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/michaelzoidl/babel-root-import/issues/4/comments","events_url":"https://api.github.com/repos/michaelzoidl/babel-root-import/issues/4/events","html_url":"https://github.com/michaelzoidl/babel-root-import/issues/4","id":117850790,"number":4,"title":"root path ?","user":{"login":"FredericHeem","id":4118089,"avatar_url":"https://avatars.githubusercontent.com/u/4118089?v=3","gravatar_id":"","url":"https://api.github.com/users/FredericHeem","html_url":"https://github.com/FredericHeem","followers_url":"https://api.github.com/users/FredericHeem/followers","following_url":"https://api.github.com/users/FredericHeem/following{/other_user}","gists_url":"https://api.github.com/users/FredericHeem/gists{/gist_id}","starred_url":"https://api.github.com/users/FredericHeem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FredericHeem/subscriptions","organizations_url":"https://api.github.com/users/FredericHeem/orgs","repos_url":"https://api.github.com/users/FredericHeem/repos","events_url":"https://api.github.com/users/FredericHeem/events{/privacy}","received_events_url":"https://api.github.com/users/FredericHeem/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-19T16:26:37Z","updated_at":"2015-12-09T14:22:49Z","closed_at":"2015-11-30T13:01:23Z","body":"`babel-root-import` works fine when used with `babel-node` or with `mocha`.\r\nMost projects have the source in `src` and the compiled Javascript in `build`, \r\nIs there a way to set the root path to `src` ? \r\nOtherwise, it doesn't work when the import is in the form of:\r\n`import blabla from \"~/src/blabla\";`\r\nbecause the file `~/src/blabla` is in es6 whereas it should use `~/build/blabla`"},"comment":{"url":"https://api.github.com/repos/michaelzoidl/babel-root-import/issues/comments/163253992","html_url":"https://github.com/michaelzoidl/babel-root-import/issues/4#issuecomment-163253992","issue_url":"https://api.github.com/repos/michaelzoidl/babel-root-import/issues/4","id":163253992,"user":{"login":"michaelzoidl","id":528550,"avatar_url":"https://avatars.githubusercontent.com/u/528550?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelzoidl","html_url":"https://github.com/michaelzoidl","followers_url":"https://api.github.com/users/michaelzoidl/followers","following_url":"https://api.github.com/users/michaelzoidl/following{/other_user}","gists_url":"https://api.github.com/users/michaelzoidl/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelzoidl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelzoidl/subscriptions","organizations_url":"https://api.github.com/users/michaelzoidl/orgs","repos_url":"https://api.github.com/users/michaelzoidl/repos","events_url":"https://api.github.com/users/michaelzoidl/events{/privacy}","received_events_url":"https://api.github.com/users/michaelzoidl/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T14:22:49Z","updated_at":"2015-12-09T14:22:49Z","body":"Okay guys... this feature is now (from version `3.1.0`) implemented! Thanks to @degr."}}