{"action":"closed","issue":{"url":"https://api.github.com/repos/css-modules/css-modules-require-hook/issues/62","repository_url":"https://api.github.com/repos/css-modules/css-modules-require-hook","labels_url":"https://api.github.com/repos/css-modules/css-modules-require-hook/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/css-modules/css-modules-require-hook/issues/62/comments","events_url":"https://api.github.com/repos/css-modules/css-modules-require-hook/issues/62/events","html_url":"https://github.com/css-modules/css-modules-require-hook/issues/62","id":138832151,"number":62,"title":"Specify options for postcss-modules-parser","user":{"login":"jonathanewerner","id":3755413,"avatar_url":"https://avatars.githubusercontent.com/u/3755413?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanewerner","html_url":"https://github.com/jonathanewerner","followers_url":"https://api.github.com/users/jonathanewerner/followers","following_url":"https://api.github.com/users/jonathanewerner/following{/other_user}","gists_url":"https://api.github.com/users/jonathanewerner/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanewerner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanewerner/subscriptions","organizations_url":"https://api.github.com/users/jonathanewerner/orgs","repos_url":"https://api.github.com/users/jonathanewerner/repos","events_url":"https://api.github.com/users/jonathanewerner/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanewerner/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-06T20:12:23Z","updated_at":"2016-06-03T19:04:19Z","closed_at":"2016-06-03T19:04:19Z","body":"I'd like to use https://github.com/gilt/postcss-less to handle less/css-modules files. This works when I modify the line 93 in `lib/index.js` as follows:\r\n\r\n```diff\r\n+ var lessParser = require('postcss-less').parse;\r\n\r\n- var lazyResult = runner.process(source, assign({}, { from: filename }));\r\n+ var lazyResult = runner.process(source, assign({}, { from: filename, parser: lessParser}));\r\n```\r\n\r\nIt'd be nice to be able to hook into this options object from the public css-modules-require-hook API. \r\nWhat do you think?"}}
{"actor":{"display_login":"sullenor"}}