{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/6832","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/6832/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/6832/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/6832/events","html_url":"https://github.com/meteor/meteor/issues/6832","id":148863035,"number":6832,"title":"Issue when importing via folder's index file.","user":{"login":"zimt28","id":1764689,"avatar_url":"https://avatars.githubusercontent.com/u/1764689?v=3","gravatar_id":"","url":"https://api.github.com/users/zimt28","html_url":"https://github.com/zimt28","followers_url":"https://api.github.com/users/zimt28/followers","following_url":"https://api.github.com/users/zimt28/following{/other_user}","gists_url":"https://api.github.com/users/zimt28/gists{/gist_id}","starred_url":"https://api.github.com/users/zimt28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zimt28/subscriptions","organizations_url":"https://api.github.com/users/zimt28/orgs","repos_url":"https://api.github.com/users/zimt28/repos","events_url":"https://api.github.com/users/zimt28/events{/privacy}","received_events_url":"https://api.github.com/users/zimt28/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/meteor/meteor/labels/bug","name":"bug","color":"b60205"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-16T15:27:59Z","updated_at":"2016-06-20T15:57:03Z","closed_at":null,"body":"@benjamn As suggested in the [[1.3.1] Strange import behavior](https://forums.meteor.com/t/1-3-1-strange-import-behavior/20940/11) thread, I've created a reproduction.\r\n\r\nThe issue is, that I have a folder of models. All of the files export a model using `export { modelName }`. I've also created an `index.js` file, which contains `export { modelName } from './model_file'` for each model.\r\n\r\nImporting like `import { modelName } from './'` works in some model files, while it doesn't in other ones. As said in the repo's README, it might be a load order thing, as one model `Office` uses models `Address` and `Person`, while `Person` depends on `Address` as well.\r\n\r\nHere's the repo: https://github.com/zimt28/meteor_import_issue"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/227185509","html_url":"https://github.com/meteor/meteor/issues/6832#issuecomment-227185509","issue_url":"https://api.github.com/repos/meteor/meteor/issues/6832","id":227185509,"user":{"login":"zimt28","id":1764689,"avatar_url":"https://avatars.githubusercontent.com/u/1764689?v=3","gravatar_id":"","url":"https://api.github.com/users/zimt28","html_url":"https://github.com/zimt28","followers_url":"https://api.github.com/users/zimt28/followers","following_url":"https://api.github.com/users/zimt28/following{/other_user}","gists_url":"https://api.github.com/users/zimt28/gists{/gist_id}","starred_url":"https://api.github.com/users/zimt28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zimt28/subscriptions","organizations_url":"https://api.github.com/users/zimt28/orgs","repos_url":"https://api.github.com/users/zimt28/repos","events_url":"https://api.github.com/users/zimt28/events{/privacy}","received_events_url":"https://api.github.com/users/zimt28/received_events","type":"User","site_admin":false},"created_at":"2016-06-20T15:57:03Z","updated_at":"2016-06-20T15:57:03Z","body":"@abernix Quite sure, the exact same code works fine using `meteor-webpack`."}}
{"actor":{"display_login":"zimt28"}}