{"action":"opened","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/1874","labels_url":"https://api.github.com/repos/webpack/webpack/issues/1874/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/1874/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/1874/events","html_url":"https://github.com/webpack/webpack/issues/1874","id":125978735,"number":1874,"title":"[webpack-2] Import from 'module/path'","user":{"login":"wrwrwr","id":1221991,"avatar_url":"https://avatars.githubusercontent.com/u/1221991?v=3","gravatar_id":"","url":"https://api.github.com/users/wrwrwr","html_url":"https://github.com/wrwrwr","followers_url":"https://api.github.com/users/wrwrwr/followers","following_url":"https://api.github.com/users/wrwrwr/following{/other_user}","gists_url":"https://api.github.com/users/wrwrwr/gists{/gist_id}","starred_url":"https://api.github.com/users/wrwrwr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wrwrwr/subscriptions","organizations_url":"https://api.github.com/users/wrwrwr/orgs","repos_url":"https://api.github.com/users/wrwrwr/repos","events_url":"https://api.github.com/users/wrwrwr/events{/privacy}","received_events_url":"https://api.github.com/users/wrwrwr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-11T16:14:41Z","updated_at":"2016-01-11T16:14:41Z","closed_at":null,"body":"```es6\r\nimport c from 'webpack/lib/Chunk';\r\n```\r\nfails to resolve with 2.0.2-beta (with the referenced module installed globally).\r\n\r\nOn one hand, such imports work with 1.x + Babel, on the other, the standard seems to leave the interpretation of the module specifier open ([ES6#15.2.1.17](http://www.ecma-international.org/ecma-262/6.0/#sec-hostresolveimportedmodule)).\r\n\r\nMaking the path absolute lets it resolve, but causes a source map error in the uglify plugin."}}