{"action":"created","issue":{"url":"https://api.github.com/repos/standard-things/esm/issues/143","repository_url":"https://api.github.com/repos/standard-things/esm","labels_url":"https://api.github.com/repos/standard-things/esm/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/standard-things/esm/issues/143/comments","events_url":"https://api.github.com/repos/standard-things/esm/issues/143/events","html_url":"https://github.com/standard-things/esm/issues/143","id":272694618,"number":143,"title":"babel-register compatibility","user":{"login":"EmilTholin","id":11573167,"avatar_url":"https://avatars0.githubusercontent.com/u/11573167?v=4","gravatar_id":"","url":"https://api.github.com/users/EmilTholin","html_url":"https://github.com/EmilTholin","followers_url":"https://api.github.com/users/EmilTholin/followers","following_url":"https://api.github.com/users/EmilTholin/following{/other_user}","gists_url":"https://api.github.com/users/EmilTholin/gists{/gist_id}","starred_url":"https://api.github.com/users/EmilTholin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmilTholin/subscriptions","organizations_url":"https://api.github.com/users/EmilTholin/orgs","repos_url":"https://api.github.com/users/EmilTholin/repos","events_url":"https://api.github.com/users/EmilTholin/events{/privacy}","received_events_url":"https://api.github.com/users/EmilTholin/received_events","type":"User","site_admin":false},"labels":[{"id":613130610,"url":"https://api.github.com/repos/standard-things/esm/labels/question","name":"question","color":"d4c5f9","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-11-09T19:33:29Z","updated_at":"2017-11-09T22:14:10Z","closed_at":"2017-11-09T21:58:39Z","author_association":"NONE","body":"Thank you for your hard work on `esm`. I get goosebumps constantly just experimenting with this absolute masterpiece of a project.\r\n\r\nI got very excited when I saw that `esm` is compatible with `babel-register`, but I can't get it to work properly. [This basic repro](https://github.com/EmilTholin/babel-register7beta31-esm13) illustrates my issue. `@std/esm` and `@babel/register` works beautifully by themselves, but when I use them together it seems like `@babel/register` has no effect at all.\r\n\r\n```javascript\r\n// The order doesn't seem to matter, I get the same result.\r\nrequire = require('@std/esm')(module, {\r\n  esm: 'js',\r\n  cjs: true\r\n})\r\n\r\nrequire('@babel/register')({\r\n  babelrc: false,\r\n  presets: [\r\n    ['@babel/env', { loose: true, modules: false }],\r\n    '@babel/stage-0'\r\n  ]\r\n})\r\n\r\nrequire('./target').default()\r\n```\r\n\r\nAm I doing something silly, or might there be a bug?"},"comment":{"url":"https://api.github.com/repos/standard-things/esm/issues/comments/343309181","html_url":"https://github.com/standard-things/esm/issues/143#issuecomment-343309181","issue_url":"https://api.github.com/repos/standard-things/esm/issues/143","id":343309181,"user":{"login":"EmilTholin","id":11573167,"avatar_url":"https://avatars0.githubusercontent.com/u/11573167?v=4","gravatar_id":"","url":"https://api.github.com/users/EmilTholin","html_url":"https://github.com/EmilTholin","followers_url":"https://api.github.com/users/EmilTholin/followers","following_url":"https://api.github.com/users/EmilTholin/following{/other_user}","gists_url":"https://api.github.com/users/EmilTholin/gists{/gist_id}","starred_url":"https://api.github.com/users/EmilTholin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmilTholin/subscriptions","organizations_url":"https://api.github.com/users/EmilTholin/orgs","repos_url":"https://api.github.com/users/EmilTholin/repos","events_url":"https://api.github.com/users/EmilTholin/events{/privacy}","received_events_url":"https://api.github.com/users/EmilTholin/received_events","type":"User","site_admin":false},"created_at":"2017-11-09T22:14:10Z","updated_at":"2017-11-09T22:14:10Z","author_association":"NONE","body":"Ah, interesting. Great find! I might have to file an issue over at the Babel repository then."}}
{"actor":{"display_login":"EmilTholin"}}