{"action":"created","issue":{"url":"https://api.github.com/repos/jedwards1211/meteor-webpack-react/issues/44","labels_url":"https://api.github.com/repos/jedwards1211/meteor-webpack-react/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/jedwards1211/meteor-webpack-react/issues/44/comments","events_url":"https://api.github.com/repos/jedwards1211/meteor-webpack-react/issues/44/events","html_url":"https://github.com/jedwards1211/meteor-webpack-react/issues/44","id":106204852,"number":44,"title":"How do you use meteor packages ?","user":{"login":"vjau","id":5278429,"avatar_url":"https://avatars.githubusercontent.com/u/5278429?v=3","gravatar_id":"","url":"https://api.github.com/users/vjau","html_url":"https://github.com/vjau","followers_url":"https://api.github.com/users/vjau/followers","following_url":"https://api.github.com/users/vjau/following{/other_user}","gists_url":"https://api.github.com/users/vjau/gists{/gist_id}","starred_url":"https://api.github.com/users/vjau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjau/subscriptions","organizations_url":"https://api.github.com/users/vjau/orgs","repos_url":"https://api.github.com/users/vjau/repos","events_url":"https://api.github.com/users/vjau/events{/privacy}","received_events_url":"https://api.github.com/users/vjau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-13T08:29:27Z","updated_at":"2015-09-13T16:57:05Z","closed_at":null,"body":"Hi everyone, \r\nsorry if this was already asked, or if this is so easy that i did not see it, but how do you use meteor packages with this ?\r\nIs there a way to require them in your code ?"},"comment":{"url":"https://api.github.com/repos/jedwards1211/meteor-webpack-react/issues/comments/139894373","html_url":"https://github.com/jedwards1211/meteor-webpack-react/issues/44#issuecomment-139894373","issue_url":"https://api.github.com/repos/jedwards1211/meteor-webpack-react/issues/44","id":139894373,"user":{"login":"AdamBrodzinski","id":1445367,"avatar_url":"https://avatars.githubusercontent.com/u/1445367?v=3","gravatar_id":"","url":"https://api.github.com/users/AdamBrodzinski","html_url":"https://github.com/AdamBrodzinski","followers_url":"https://api.github.com/users/AdamBrodzinski/followers","following_url":"https://api.github.com/users/AdamBrodzinski/following{/other_user}","gists_url":"https://api.github.com/users/AdamBrodzinski/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamBrodzinski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamBrodzinski/subscriptions","organizations_url":"https://api.github.com/users/AdamBrodzinski/orgs","repos_url":"https://api.github.com/users/AdamBrodzinski/repos","events_url":"https://api.github.com/users/AdamBrodzinski/events{/privacy}","received_events_url":"https://api.github.com/users/AdamBrodzinski/received_events","type":"User","site_admin":false},"created_at":"2015-09-13T16:57:05Z","updated_at":"2015-09-13T16:57:05Z","body":"@vjau as far as making the typescript compiler happy... could you have a file called packages.js and then do something like this?\r\n\r\n```javascript\r\n// packages.js\r\nexport const Meteor = Meteor;\r\nexport const SimpleSchema = SimpleSchema;\r\nexport const FlowRouter = FlowRouter;\r\n\r\n\r\n// somewhere else\r\n\r\nimport FlowRouter from '../../packages/FlowRouter';\r\n// or with an alias\r\nimport FlowRouter from 'packages/FlowRouter';\r\n```"}}