{"action":"opened","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/1776","labels_url":"https://api.github.com/repos/webpack/webpack/issues/1776/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/1776/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/1776/events","html_url":"https://github.com/webpack/webpack/issues/1776","id":122960237,"number":1776,"title":"React-Dom throws undefined when loading through webpack","user":{"login":"Hesquibet","id":7370014,"avatar_url":"https://avatars.githubusercontent.com/u/7370014?v=3","gravatar_id":"","url":"https://api.github.com/users/Hesquibet","html_url":"https://github.com/Hesquibet","followers_url":"https://api.github.com/users/Hesquibet/followers","following_url":"https://api.github.com/users/Hesquibet/following{/other_user}","gists_url":"https://api.github.com/users/Hesquibet/gists{/gist_id}","starred_url":"https://api.github.com/users/Hesquibet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hesquibet/subscriptions","organizations_url":"https://api.github.com/users/Hesquibet/orgs","repos_url":"https://api.github.com/users/Hesquibet/repos","events_url":"https://api.github.com/users/Hesquibet/events{/privacy}","received_events_url":"https://api.github.com/users/Hesquibet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-18T14:42:47Z","updated_at":"2015-12-18T14:42:47Z","closed_at":null,"body":"I'm new to webpack and i am playing with a simple project with React and Typescript.\r\n\r\nI have succesfuly built my project with webpack, but the problem comes at bundle Loading.\r\n\r\n```\r\nUncaught TypeError: Cannot read property 'DOM' of undefined\r\n```\r\n\r\nThis appears when react-dom is loading \r\n\r\n```javascript\r\nthis, function (React) {\r\n\t  var DOM, key, value, ref, bridge\r\n\r\n\t  DOM = {}\r\n\t  ref = React.DOM\r\n```\r\nReact is undefined...\r\n\r\nIt seems that at react-dom loading, it's react dependency is not beeing loaded, which throws this error.\r\n\r\n\r\nDid anyone face the same problem ?"}}