{"action":"created","issue":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4948","repository_url":"https://api.github.com/repos/ember-cli/ember-cli","labels_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4948/labels{/name}","comments_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4948/comments","events_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4948/events","html_url":"https://github.com/ember-cli/ember-cli/issues/4948","id":111048635,"number":4948,"title":"outputPaths always send the app css","user":{"login":"dukex","id":91538,"avatar_url":"https://avatars.githubusercontent.com/u/91538?v=3","gravatar_id":"","url":"https://api.github.com/users/dukex","html_url":"https://github.com/dukex","followers_url":"https://api.github.com/users/dukex/followers","following_url":"https://api.github.com/users/dukex/following{/other_user}","gists_url":"https://api.github.com/users/dukex/gists{/gist_id}","starred_url":"https://api.github.com/users/dukex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dukex/subscriptions","organizations_url":"https://api.github.com/users/dukex/orgs","repos_url":"https://api.github.com/users/dukex/repos","events_url":"https://api.github.com/users/dukex/events{/privacy}","received_events_url":"https://api.github.com/users/dukex/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ember-cli/ember-cli/labels/Needs%20Team%20Response","name":"Needs Team Response","color":"9319E0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-12T20:22:16Z","updated_at":"2016-05-25T17:46:07Z","closed_at":null,"body":"Hi everyone\r\n\r\nGiven the current [ember-app.js#L183-L185](https://github.com/ember-cli/ember-cli/blob/master/lib/broccoli/ember-app.js#L183-L185):\r\n\r\n```\r\n    app: {\r\n...\r\n      css: {\r\n        'app': '/assets/' + this.name + '.css'\r\n      }\r\n``` \r\n\r\nThis 'requires' that all projects using ember-cli has the app.css file, and cause a bug in projects like [ember-cli-sass](https://github.com/aexmachina/ember-cli-sass) and [ember-cli-less](https://github.com/gdub22/ember-cli-less) when using the follow config:\r\n\r\n````\r\nvar app = new EmberApp({\r\n  outputPaths: {\r\n    app: {\r\n      css: {\r\n        'theme-orange': '/assets/theme-orange.css',\r\n        'theme-purple': '/assets/theme-purple.css'\r\n      }\r\n    }\r\n  }\r\n});\r\n```\r\n\r\nI believe the problem is in ember-cli because the outputPaths always has the app css even when the app override the config\r\n\r\n```\r\n> options.outputPaths\r\n{ 'theme-orange': '/assets/theme-orange.css',\r\n  'theme-purple': '/assets/theme-purple.css',\r\n  app: '/assets/myapp.css' }\r\n```\r\n\r\n\r\nRelated: \r\nhttps://github.com/aexmachina/ember-cli-sass/issues/81\r\nhttps://github.com/gdub22/ember-cli-less/issues/30\r\n"},"comment":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/comments/221652389","html_url":"https://github.com/ember-cli/ember-cli/issues/4948#issuecomment-221652389","issue_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4948","id":221652389,"user":{"login":"Turbo87","id":141300,"avatar_url":"https://avatars.githubusercontent.com/u/141300?v=3","gravatar_id":"","url":"https://api.github.com/users/Turbo87","html_url":"https://github.com/Turbo87","followers_url":"https://api.github.com/users/Turbo87/followers","following_url":"https://api.github.com/users/Turbo87/following{/other_user}","gists_url":"https://api.github.com/users/Turbo87/gists{/gist_id}","starred_url":"https://api.github.com/users/Turbo87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Turbo87/subscriptions","organizations_url":"https://api.github.com/users/Turbo87/orgs","repos_url":"https://api.github.com/users/Turbo87/repos","events_url":"https://api.github.com/users/Turbo87/events{/privacy}","received_events_url":"https://api.github.com/users/Turbo87/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T17:46:07Z","updated_at":"2016-05-25T17:46:07Z","body":"@dukex have you tried setting it like this?\r\n\r\n```js\r\nvar app = new EmberApp({\r\n  outputPaths: {\r\n    app: {\r\n      css: {\r\n        'app': null,\r\n        'theme-orange': '/assets/theme-orange.css',\r\n        'theme-purple': '/assets/theme-purple.css'\r\n      }\r\n    }\r\n  }\r\n});\r\n```"}}
{"actor":{"display_login":"Turbo87"}}