{"action":"closed","issue":{"url":"https://api.github.com/repos/systemjs/systemjs/issues/1045","labels_url":"https://api.github.com/repos/systemjs/systemjs/issues/1045/labels{/name}","comments_url":"https://api.github.com/repos/systemjs/systemjs/issues/1045/comments","events_url":"https://api.github.com/repos/systemjs/systemjs/issues/1045/events","html_url":"https://github.com/systemjs/systemjs/issues/1045","id":127932472,"number":1045,"title":"Module could not find global dependency","user":{"login":"matthieu-ravey","id":1333379,"avatar_url":"https://avatars.githubusercontent.com/u/1333379?v=3","gravatar_id":"","url":"https://api.github.com/users/matthieu-ravey","html_url":"https://github.com/matthieu-ravey","followers_url":"https://api.github.com/users/matthieu-ravey/followers","following_url":"https://api.github.com/users/matthieu-ravey/following{/other_user}","gists_url":"https://api.github.com/users/matthieu-ravey/gists{/gist_id}","starred_url":"https://api.github.com/users/matthieu-ravey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthieu-ravey/subscriptions","organizations_url":"https://api.github.com/users/matthieu-ravey/orgs","repos_url":"https://api.github.com/users/matthieu-ravey/repos","events_url":"https://api.github.com/users/matthieu-ravey/events{/privacy}","received_events_url":"https://api.github.com/users/matthieu-ravey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/systemjs/systemjs/labels/support","name":"support","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-21T14:13:18Z","updated_at":"2016-01-25T09:58:50Z","closed_at":"2016-01-25T09:58:50Z","body":"I've a module that has a dependency to moment and it can find it as a global variable. I've tried to add this to config.meta but neither worked:\r\n\r\n```javascript\r\n\"ui-bootstrap-datetimepicker\": {\r\n      \"globals\": {\r\n        \"moment\": \"moment\"\r\n      }\r\n    }\r\n```\r\n\r\n```javascript\r\n\"ui-bootstrap-datetimepicker\": {\r\n      \"deps\": [\r\n        \"moment\"\r\n      ]\r\n    }\r\n```"}}