{"action":"created","issue":{"url":"https://api.github.com/repos/n1ru4l/ember-cli-css-preprocess/issues/21","repository_url":"https://api.github.com/repos/n1ru4l/ember-cli-css-preprocess","labels_url":"https://api.github.com/repos/n1ru4l/ember-cli-css-preprocess/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/n1ru4l/ember-cli-css-preprocess/issues/21/comments","events_url":"https://api.github.com/repos/n1ru4l/ember-cli-css-preprocess/issues/21/events","html_url":"https://github.com/n1ru4l/ember-cli-css-preprocess/issues/21","id":155525547,"number":21,"title":"Change outputPaths to accept extension","user":{"login":"casio","id":29784,"avatar_url":"https://avatars.githubusercontent.com/u/29784?v=3","gravatar_id":"","url":"https://api.github.com/users/casio","html_url":"https://github.com/casio","followers_url":"https://api.github.com/users/casio/followers","following_url":"https://api.github.com/users/casio/following{/other_user}","gists_url":"https://api.github.com/users/casio/gists{/gist_id}","starred_url":"https://api.github.com/users/casio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/casio/subscriptions","organizations_url":"https://api.github.com/users/casio/orgs","repos_url":"https://api.github.com/users/casio/repos","events_url":"https://api.github.com/users/casio/events{/privacy}","received_events_url":"https://api.github.com/users/casio/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/n1ru4l/ember-cli-css-preprocess/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/n1ru4l/ember-cli-css-preprocess/milestones/1","html_url":"https://github.com/n1ru4l/ember-cli-css-preprocess/milestones/1.0","labels_url":"https://api.github.com/repos/n1ru4l/ember-cli-css-preprocess/milestones/1/labels","id":1765968,"number":1,"title":"1.0","description":null,"creator":{"login":"n1ru4l","id":14338007,"avatar_url":"https://avatars.githubusercontent.com/u/14338007?v=3","gravatar_id":"","url":"https://api.github.com/users/n1ru4l","html_url":"https://github.com/n1ru4l","followers_url":"https://api.github.com/users/n1ru4l/followers","following_url":"https://api.github.com/users/n1ru4l/following{/other_user}","gists_url":"https://api.github.com/users/n1ru4l/gists{/gist_id}","starred_url":"https://api.github.com/users/n1ru4l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n1ru4l/subscriptions","organizations_url":"https://api.github.com/users/n1ru4l/orgs","repos_url":"https://api.github.com/users/n1ru4l/repos","events_url":"https://api.github.com/users/n1ru4l/events{/privacy}","received_events_url":"https://api.github.com/users/n1ru4l/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":2,"state":"open","created_at":"2016-05-14T08:06:46Z","updated_at":"2016-05-18T21:04:29Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-05-18T15:04:55Z","updated_at":"2016-05-18T21:04:45Z","closed_at":null,"body":"Say I have both, an `app.css`(for being processed by postcss) and an `app.scss` that imports a sass based library. I'd like them both to be output to a single sheet(but would also be happy w/ two processed files, really).\r\n\r\nI just checked that out by using multiple processors in `styleProcessorOptions.processors` and it seems, I can only either use `css` **or** `scss` here, because `styleProcessorOptions.extension` seems to prevent that.\r\nAlso tried the`file` attr of a processor but that seemed to be ignored completely.\r\n\r\nWhat am I doing wrong? : )\r\n"},"comment":{"url":"https://api.github.com/repos/n1ru4l/ember-cli-css-preprocess/issues/comments/220157724","html_url":"https://github.com/n1ru4l/ember-cli-css-preprocess/issues/21#issuecomment-220157724","issue_url":"https://api.github.com/repos/n1ru4l/ember-cli-css-preprocess/issues/21","id":220157724,"user":{"login":"n1ru4l","id":14338007,"avatar_url":"https://avatars.githubusercontent.com/u/14338007?v=3","gravatar_id":"","url":"https://api.github.com/users/n1ru4l","html_url":"https://github.com/n1ru4l","followers_url":"https://api.github.com/users/n1ru4l/followers","following_url":"https://api.github.com/users/n1ru4l/following{/other_user}","gists_url":"https://api.github.com/users/n1ru4l/gists{/gist_id}","starred_url":"https://api.github.com/users/n1ru4l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n1ru4l/subscriptions","organizations_url":"https://api.github.com/users/n1ru4l/orgs","repos_url":"https://api.github.com/users/n1ru4l/repos","events_url":"https://api.github.com/users/n1ru4l/events{/privacy}","received_events_url":"https://api.github.com/users/n1ru4l/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T21:04:45Z","updated_at":"2016-05-18T21:04:45Z","body":"```javascript\r\nvar app = new EmberApp(defaults, {\r\n    // Add options here\r\n    styleProcessorOptions: {\r\n\t\tprocessors: [{\r\n\t\t\ttype: 'postcss',\r\n\t\t\tparser: require('postcss-scss'),\r\n\t\t\tfilter: ['app.css', 'nested/*', '!nested/blub.css'],\r\n\t\t\tplugins: [\r\n\t\t\t\t{\r\n\t\t\t\t\tmodule: require('autoprefixer'),\r\n\t\t\t\t\toptions: {\r\n                \t\tbrowsers: [\r\n\t\t\t\t\t\t\t'last 2 versions'\r\n                \t\t]\r\n              \t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\tmodule: require('precss'),\r\n\t\t\t\toptions: {}\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\textension: 'css'\r\n\t},\r\n  \toutputPaths: {\r\n    \tapp: {\r\n\t\t\tcss: {\r\n\t\t\t\t'app.css': 'assets/lel.css',\r\n\t\t\t\t'amk.scss': 'assets/toll.css',\r\n\t\t\t\t'trolol.less': 'assets/foo.css'\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n```\r\nThis would be the easiest approach for this problem. \r\nI'm going to implement this in v1.0"}}