{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node-eps/issues/3","repository_url":"https://api.github.com/repos/nodejs/node-eps","labels_url":"https://api.github.com/repos/nodejs/node-eps/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node-eps/issues/3/comments","events_url":"https://api.github.com/repos/nodejs/node-eps/issues/3/events","html_url":"https://github.com/nodejs/node-eps/pull/3","id":125521680,"number":3,"title":"002: ES6 module interop","user":{"login":"bmeck","id":234659,"avatar_url":"https://avatars.githubusercontent.com/u/234659?v=3","gravatar_id":"","url":"https://api.github.com/users/bmeck","html_url":"https://github.com/bmeck","followers_url":"https://api.github.com/users/bmeck/followers","following_url":"https://api.github.com/users/bmeck/following{/other_user}","gists_url":"https://api.github.com/users/bmeck/gists{/gist_id}","starred_url":"https://api.github.com/users/bmeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmeck/subscriptions","organizations_url":"https://api.github.com/users/bmeck/orgs","repos_url":"https://api.github.com/users/bmeck/repos","events_url":"https://api.github.com/users/bmeck/events{/privacy}","received_events_url":"https://api.github.com/users/bmeck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":130,"created_at":"2016-01-08T01:18:07Z","updated_at":"2016-02-12T09:15:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nodejs/node-eps/pulls/3","html_url":"https://github.com/nodejs/node-eps/pull/3","diff_url":"https://github.com/nodejs/node-eps/pull/3.diff","patch_url":"https://github.com/nodejs/node-eps/pull/3.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/nodejs/node-eps/issues/comments/183245210","html_url":"https://github.com/nodejs/node-eps/pull/3#issuecomment-183245210","issue_url":"https://api.github.com/repos/nodejs/node-eps/issues/3","id":183245210,"user":{"login":"ljharb","id":45469,"avatar_url":"https://avatars.githubusercontent.com/u/45469?v=3","gravatar_id":"","url":"https://api.github.com/users/ljharb","html_url":"https://github.com/ljharb","followers_url":"https://api.github.com/users/ljharb/followers","following_url":"https://api.github.com/users/ljharb/following{/other_user}","gists_url":"https://api.github.com/users/ljharb/gists{/gist_id}","starred_url":"https://api.github.com/users/ljharb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljharb/subscriptions","organizations_url":"https://api.github.com/users/ljharb/orgs","repos_url":"https://api.github.com/users/ljharb/repos","events_url":"https://api.github.com/users/ljharb/events{/privacy}","received_events_url":"https://api.github.com/users/ljharb/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T09:15:26Z","updated_at":"2016-02-12T09:15:26Z","body":"@medikoo how would that work in an app or package where some of the files are CJS and some are ES6? Whatever's decided needs to provide a migration path on a per-file basis. Your method would prevent someone still using CJS from consuming any ES6 modules, even if they're in a new enough node version to support it.\r\n\r\nAlso, browsers didn't solve it by using `.js` - they did it by requiring `<script type=\"module\">` - ie, an explicit signal (file extensions are entirely ignored as long as the MIME type is correct). Browsers did not solve how a server is supposed to know what script type it is - which node also would need to know."}}