{"action":"opened","issue":{"url":"https://api.github.com/repos/umidbekkarimov/babel-plugin-direct-import/issues/9","repository_url":"https://api.github.com/repos/umidbekkarimov/babel-plugin-direct-import","labels_url":"https://api.github.com/repos/umidbekkarimov/babel-plugin-direct-import/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/umidbekkarimov/babel-plugin-direct-import/issues/9/comments","events_url":"https://api.github.com/repos/umidbekkarimov/babel-plugin-direct-import/issues/9/events","html_url":"https://github.com/umidbekkarimov/babel-plugin-direct-import/issues/9","id":276536540,"number":9,"title":"Error when importing flow types","user":{"login":"sarakusha","id":399762,"avatar_url":"https://avatars3.githubusercontent.com/u/399762?v=4","gravatar_id":"","url":"https://api.github.com/users/sarakusha","html_url":"https://github.com/sarakusha","followers_url":"https://api.github.com/users/sarakusha/followers","following_url":"https://api.github.com/users/sarakusha/following{/other_user}","gists_url":"https://api.github.com/users/sarakusha/gists{/gist_id}","starred_url":"https://api.github.com/users/sarakusha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarakusha/subscriptions","organizations_url":"https://api.github.com/users/sarakusha/orgs","repos_url":"https://api.github.com/users/sarakusha/repos","events_url":"https://api.github.com/users/sarakusha/events{/privacy}","received_events_url":"https://api.github.com/users/sarakusha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-24T07:39:57Z","updated_at":"2017-11-24T07:39:57Z","closed_at":null,"author_association":"NONE","body":"When using the Flow type definitions for react-router from `flow-typed/npm`, webpack builds fail with the following error message:\r\n```javascript\r\nModule build failed: Error: /Users/.../ToggleableMenuItem.js: babel-plugin-direct-import: react-router does not contain module \"ContextRouter\"\r\n```\r\nToggleableMenuItem.js\r\n`import type { ContextRouter } from 'react-router';`\r\n[see same lodash issue](https://github.com/lodash/babel-plugin-lodash/issues/153)"}}
{"actor":{"display_login":"sarakusha"}}