{"action":"created","issue":{"url":"https://api.github.com/repos/ben-eb/cssnano/issues/82","labels_url":"https://api.github.com/repos/ben-eb/cssnano/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/ben-eb/cssnano/issues/82/comments","events_url":"https://api.github.com/repos/ben-eb/cssnano/issues/82/events","html_url":"https://github.com/ben-eb/cssnano/issues/82","id":112584424,"number":82,"title":"Pass `sourcemap` option from inside PostCSS config file","user":{"login":"Francisc","id":699657,"avatar_url":"https://avatars.githubusercontent.com/u/699657?v=3","gravatar_id":"","url":"https://api.github.com/users/Francisc","html_url":"https://github.com/Francisc","followers_url":"https://api.github.com/users/Francisc/followers","following_url":"https://api.github.com/users/Francisc/following{/other_user}","gists_url":"https://api.github.com/users/Francisc/gists{/gist_id}","starred_url":"https://api.github.com/users/Francisc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Francisc/subscriptions","organizations_url":"https://api.github.com/users/Francisc/orgs","repos_url":"https://api.github.com/users/Francisc/repos","events_url":"https://api.github.com/users/Francisc/events{/privacy}","received_events_url":"https://api.github.com/users/Francisc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-21T13:11:09Z","updated_at":"2015-10-21T13:15:26Z","closed_at":"2015-10-21T13:15:26Z","body":"Hello,\r\n\r\nIs it possible to pass the `--sourcemap` option from inside the PostCSS config file?\r\nThis is what I currently have and it fails:\r\n\r\n```\r\n{\r\n\t\"use\": [\"autoprefixer\", \"cssnano\"],\r\n\t\"autoprefixer\": {\r\n\t\t\"browsers\": [\"last 2 versions\", \"> 5%\"]\r\n\t},\r\n\t\"cssnano\": {\r\n\t\t\"sourcemap\": true\r\n\t}\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/ben-eb/cssnano/issues/comments/149890359","html_url":"https://github.com/ben-eb/cssnano/issues/82#issuecomment-149890359","issue_url":"https://api.github.com/repos/ben-eb/cssnano/issues/82","id":149890359,"user":{"login":"TrySound","id":5635476,"avatar_url":"https://avatars.githubusercontent.com/u/5635476?v=3","gravatar_id":"","url":"https://api.github.com/users/TrySound","html_url":"https://github.com/TrySound","followers_url":"https://api.github.com/users/TrySound/followers","following_url":"https://api.github.com/users/TrySound/following{/other_user}","gists_url":"https://api.github.com/users/TrySound/gists{/gist_id}","starred_url":"https://api.github.com/users/TrySound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrySound/subscriptions","organizations_url":"https://api.github.com/users/TrySound/orgs","repos_url":"https://api.github.com/users/TrySound/repos","events_url":"https://api.github.com/users/TrySound/events{/privacy}","received_events_url":"https://api.github.com/users/TrySound/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T13:15:26Z","updated_at":"2015-10-21T13:15:26Z","body":"@Francisc sourcemaps can't work only on some plugins. It's global config thing. So move this issue to postcss-cli."}}