{"action":"opened","issue":{"url":"https://api.github.com/repos/s1985/gulp-ember-order/issues/2","labels_url":"https://api.github.com/repos/s1985/gulp-ember-order/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/s1985/gulp-ember-order/issues/2/comments","events_url":"https://api.github.com/repos/s1985/gulp-ember-order/issues/2/events","html_url":"https://github.com/s1985/gulp-ember-order/issues/2","id":58345094,"number":2,"title":"Application.Route conflicts with Ember.Route","user":{"login":"s4ge","id":5221391,"avatar_url":"https://avatars.githubusercontent.com/u/5221391?v=3","gravatar_id":"","url":"https://api.github.com/users/s4ge","html_url":"https://github.com/s4ge","followers_url":"https://api.github.com/users/s4ge/followers","following_url":"https://api.github.com/users/s4ge/following{/other_user}","gists_url":"https://api.github.com/users/s4ge/gists{/gist_id}","starred_url":"https://api.github.com/users/s4ge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s4ge/subscriptions","organizations_url":"https://api.github.com/users/s4ge/orgs","repos_url":"https://api.github.com/users/s4ge/repos","events_url":"https://api.github.com/users/s4ge/events{/privacy}","received_events_url":"https://api.github.com/users/s4ge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-20T12:20:20Z","updated_at":"2015-02-20T12:20:20Z","closed_at":null,"body":"If I define a default ember route by Application.Route (where Application is my Ember.Application instance) I run into a conflict with Ember.Route. In this case, the Application/Route.js file (which contains my Application.Route) has a dependency on Route, which overlaps with the Ember.Route dependency. This makes the dependency unresolvable. At least, this is my best explanation why the dependencies are not correctly ordered.\r\n\r\nImagine I have the following setup:\r\n\r\nApplication/\r\n   - DashBoardRoute.js (Application.DashBoardRoute = Application.Route.extend...)\r\n   - Route.js (Application.Route = Ember.Route.extend...)\r\n\r\nThe dependencies are not resolved and the DashBoardRoute.js is concatenated before the Route.js file."}}