{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/5219","labels_url":"https://api.github.com/repos/meteor/meteor/issues/5219/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/5219/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/5219/events","html_url":"https://github.com/meteor/meteor/issues/5219","id":107387864,"number":5219,"title":"Enable packages to act as code post-processors, or allow chaining build plugins","user":{"login":"sebakerckhof","id":88471,"avatar_url":"https://avatars.githubusercontent.com/u/88471?v=3","gravatar_id":"","url":"https://api.github.com/users/sebakerckhof","html_url":"https://github.com/sebakerckhof","followers_url":"https://api.github.com/users/sebakerckhof/followers","following_url":"https://api.github.com/users/sebakerckhof/following{/other_user}","gists_url":"https://api.github.com/users/sebakerckhof/gists{/gist_id}","starred_url":"https://api.github.com/users/sebakerckhof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebakerckhof/subscriptions","organizations_url":"https://api.github.com/users/sebakerckhof/orgs","repos_url":"https://api.github.com/users/sebakerckhof/repos","events_url":"https://api.github.com/users/sebakerckhof/events{/privacy}","received_events_url":"https://api.github.com/users/sebakerckhof/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/meteor/meteor/labels/feature","name":"feature","color":"02d7e1"},{"url":"https://api.github.com/repos/meteor/meteor/labels/Project:Isobuild","name":"Project:Isobuild","color":"f7c6c7"},{"url":"https://api.github.com/repos/meteor/meteor/labels/Project:Isobuild:Minifiers","name":"Project:Isobuild:Minifiers","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-09-20T11:15:27Z","updated_at":"2015-10-12T08:42:19Z","closed_at":null,"body":"I want to create a meteor compiler for CSS autoprefixer.\r\n\r\nThe problem is, if I add a compiler for 'css'-extensions, I get this error:\r\n`error: conflict: two packages included in the app (meteor and seba:autoprefix) are both trying to handle *.css`.\r\nOnly workaround I can currently think of is registering the compiler for another prefix like 'autoprefix.css' files, but then I have to name all my files like this...\r\n\r\nFurthermore, I also wrote a plugin to compile sass to css. But, after the SCSS file is compiled to CSS, it is not fed to the autoprefix compiler. So does this mean there is no compiler chaining?\r\n\r\nThird problem: I guess files from external meteor packages can not be processed with compilers anymore? Because, in the case of autoprefixing, you might want to do this for all css files, even the ones coming from external packages. This is probably true for a lot of POSTCSS plugins.\r\nTherefore it might make more sense to have these in the same build step like minification?\r\nSo maybe I should add the autoprefixer as a minifier instead of a compiler? But in that case, the naming is weird and I don't know if I can add an additional minifier (next to the one that actually minifies) for CSS files?\r\n\r\nI created a repo with my SCSS and Autoprefix compilers that you can play around with: https://github.com/sebakerckhof/meteorcompiler"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/147330059","html_url":"https://github.com/meteor/meteor/issues/5219#issuecomment-147330059","issue_url":"https://api.github.com/repos/meteor/meteor/issues/5219","id":147330059,"user":{"login":"aunz","id":5979787,"avatar_url":"https://avatars.githubusercontent.com/u/5979787?v=3","gravatar_id":"","url":"https://api.github.com/users/aunz","html_url":"https://github.com/aunz","followers_url":"https://api.github.com/users/aunz/followers","following_url":"https://api.github.com/users/aunz/following{/other_user}","gists_url":"https://api.github.com/users/aunz/gists{/gist_id}","starred_url":"https://api.github.com/users/aunz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aunz/subscriptions","organizations_url":"https://api.github.com/users/aunz/orgs","repos_url":"https://api.github.com/users/aunz/repos","events_url":"https://api.github.com/users/aunz/events{/privacy}","received_events_url":"https://api.github.com/users/aunz/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T08:42:19Z","updated_at":"2015-10-12T08:42:19Z","body":"+1"}}