{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/1114","labels_url":"https://api.github.com/repos/webpack/webpack/issues/1114/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/1114/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/1114/events","html_url":"https://github.com/webpack/webpack/issues/1114","id":80712409,"number":1114,"title":"What is commonjs2 ?","user":{"login":"Sinewyk","id":1826366,"avatar_url":"https://avatars.githubusercontent.com/u/1826366?v=3","gravatar_id":"","url":"https://api.github.com/users/Sinewyk","html_url":"https://github.com/Sinewyk","followers_url":"https://api.github.com/users/Sinewyk/followers","following_url":"https://api.github.com/users/Sinewyk/following{/other_user}","gists_url":"https://api.github.com/users/Sinewyk/gists{/gist_id}","starred_url":"https://api.github.com/users/Sinewyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sinewyk/subscriptions","organizations_url":"https://api.github.com/users/Sinewyk/orgs","repos_url":"https://api.github.com/users/Sinewyk/repos","events_url":"https://api.github.com/users/Sinewyk/events{/privacy}","received_events_url":"https://api.github.com/users/Sinewyk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-25T23:57:48Z","updated_at":"2015-05-26T12:35:51Z","closed_at":null,"body":"Sorry if that's obvious but it's been eating me for multiple days and even `grep`ing commonjs2 through this repository I couldn't find any obvious information.\r\nMy google-fu on commonjs2 led me back to https://github.com/webpack/webpack/issues/864 ... which was not helpful.\r\n\r\nAnyone could explicitely inform me what is commonjs2, the differences with commonjs, and what is the relation with webpack ?\r\n\r\nThanks ..."},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/105509929","html_url":"https://github.com/webpack/webpack/issues/1114#issuecomment-105509929","issue_url":"https://api.github.com/repos/webpack/webpack/issues/1114","id":105509929,"user":{"login":"sokra","id":1365881,"avatar_url":"https://avatars.githubusercontent.com/u/1365881?v=3","gravatar_id":"","url":"https://api.github.com/users/sokra","html_url":"https://github.com/sokra","followers_url":"https://api.github.com/users/sokra/followers","following_url":"https://api.github.com/users/sokra/following{/other_user}","gists_url":"https://api.github.com/users/sokra/gists{/gist_id}","starred_url":"https://api.github.com/users/sokra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sokra/subscriptions","organizations_url":"https://api.github.com/users/sokra/orgs","repos_url":"https://api.github.com/users/sokra/repos","events_url":"https://api.github.com/users/sokra/events{/privacy}","received_events_url":"https://api.github.com/users/sokra/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T12:35:51Z","updated_at":"2015-05-26T12:35:51Z","body":"CommonJs spec defines only `exports`. But `module.exports` is used by node.js and many other CommonJs implementations.\r\n\r\n`commonjs` mean pure CommonJs\r\n`commonjs2` also includes the `module.exports` stuff."}}