{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/flow/issues/718","labels_url":"https://api.github.com/repos/facebook/flow/issues/718/labels{/name}","comments_url":"https://api.github.com/repos/facebook/flow/issues/718/comments","events_url":"https://api.github.com/repos/facebook/flow/issues/718/events","html_url":"https://github.com/facebook/flow/issues/718","id":100825672,"number":718,"title":"AMD support (Almond)","user":{"login":"agentcooper","id":794591,"avatar_url":"https://avatars.githubusercontent.com/u/794591?v=3","gravatar_id":"","url":"https://api.github.com/users/agentcooper","html_url":"https://github.com/agentcooper","followers_url":"https://api.github.com/users/agentcooper/followers","following_url":"https://api.github.com/users/agentcooper/following{/other_user}","gists_url":"https://api.github.com/users/agentcooper/gists{/gist_id}","starred_url":"https://api.github.com/users/agentcooper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agentcooper/subscriptions","organizations_url":"https://api.github.com/users/agentcooper/orgs","repos_url":"https://api.github.com/users/agentcooper/repos","events_url":"https://api.github.com/users/agentcooper/events{/privacy}","received_events_url":"https://api.github.com/users/agentcooper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-13T17:34:12Z","updated_at":"2015-08-13T17:34:12Z","closed_at":null,"body":"Having modules in the following format:\r\n\r\n```js\r\ndefine('store', function(require, exports, module) {\r\n    'use strict';\r\n\r\n    var store = { /* ... */ };\r\n\r\n    module.exports = store;\r\n});\r\n```\r\n\r\nI can use\r\n\r\n```\r\n[options]\r\nmodule.name_mapper='store' -> '../modules/store'\r\n```\r\n\r\nto make this work\r\n```js\r\n/* @flow */\r\n\r\nvar store = require('store');\r\n```\r\n\r\nBut Flow does not understand `module.exports` in the module, is there any way to make it work?"}}