frontendfriends / node-combine-mq

Combine matching media queries into one media query definition. Useful for CSS generated by preprocessors using nested media queries.
MIT License
19 stars 11 forks source link

Pass the filename to the CSS parser #10

Closed paazmaya closed 9 years ago

paazmaya commented 9 years ago

Since the source file is specified in options.src, it would be helpful for the possible error messages, that it would be passed to the parser in https://github.com/frontendfriends/node-combine-mq/blob/master/lib/combine-mq.js#L209 as documented here https://github.com/reworkcss/css#cssparsecode-options

furzeface commented 9 years ago

Thanks @paazmaya - will try and get round to this, unless you fancy having a go and submitting a PR? Dan.

paazmaya commented 9 years ago

@furzeface #12 Could not really test, as it seems that the tests are not running the plugin, but matching two files from the repository...