{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/vue-loader/issues/240","repository_url":"https://api.github.com/repos/vuejs/vue-loader","labels_url":"https://api.github.com/repos/vuejs/vue-loader/issues/240/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue-loader/issues/240/comments","events_url":"https://api.github.com/repos/vuejs/vue-loader/issues/240/events","html_url":"https://github.com/vuejs/vue-loader/pull/240","id":156474732,"number":240,"title":"Allow vue-loader to user PostCSS options as object and custom syntax","user":{"login":"esiao","id":1942801,"avatar_url":"https://avatars.githubusercontent.com/u/1942801?v=3","gravatar_id":"","url":"https://api.github.com/users/esiao","html_url":"https://github.com/esiao","followers_url":"https://api.github.com/users/esiao/followers","following_url":"https://api.github.com/users/esiao/following{/other_user}","gists_url":"https://api.github.com/users/esiao/gists{/gist_id}","starred_url":"https://api.github.com/users/esiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esiao/subscriptions","organizations_url":"https://api.github.com/users/esiao/orgs","repos_url":"https://api.github.com/users/esiao/repos","events_url":"https://api.github.com/users/esiao/events{/privacy}","received_events_url":"https://api.github.com/users/esiao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-24T10:36:21Z","updated_at":"2016-05-24T17:30:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/vuejs/vue-loader/pulls/240","html_url":"https://github.com/vuejs/vue-loader/pull/240","diff_url":"https://github.com/vuejs/vue-loader/pull/240.diff","patch_url":"https://github.com/vuejs/vue-loader/pull/240.patch"},"body":"I wanted to use SugarSS with PostCSS with vue-loader. It wasn't possible without modifying the style-rewriter and changing the way options works.\r\n\r\nYou still can use the \r\n`postcss: array of plugins`\r\n`postcss: function that return array of plugins`\r\n\r\nor the new one\r\n```\r\npostcss: {\r\n  plugins: array of plugins,\r\n  syntax: custom syntax, like sugarss\r\n}\r\n```\r\n\r\nAllowing the use of sugarss or others syntax as custom postcss syntax with vue loader."},"comment":{"url":"https://api.github.com/repos/vuejs/vue-loader/issues/comments/221345390","html_url":"https://github.com/vuejs/vue-loader/pull/240#issuecomment-221345390","issue_url":"https://api.github.com/repos/vuejs/vue-loader/issues/240","id":221345390,"user":{"login":"yyx990803","id":499550,"avatar_url":"https://avatars.githubusercontent.com/u/499550?v=3","gravatar_id":"","url":"https://api.github.com/users/yyx990803","html_url":"https://github.com/yyx990803","followers_url":"https://api.github.com/users/yyx990803/followers","following_url":"https://api.github.com/users/yyx990803/following{/other_user}","gists_url":"https://api.github.com/users/yyx990803/gists{/gist_id}","starred_url":"https://api.github.com/users/yyx990803/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yyx990803/subscriptions","organizations_url":"https://api.github.com/users/yyx990803/orgs","repos_url":"https://api.github.com/users/yyx990803/repos","events_url":"https://api.github.com/users/yyx990803/events{/privacy}","received_events_url":"https://api.github.com/users/yyx990803/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T17:30:42Z","updated_at":"2016-05-24T17:30:42Z","body":"@esiao yeah, that'd be cleaner. Could you update the PR to support that instead?"}}
{"actor":{"display_login":"yyx990803"}}