Crunch / postcss-less

MIT License
35 stars 9 forks source link

Added onImport config key for compatibility with postcss-import #11

Closed meszaros-lajos-gyorgy closed 7 years ago

meszaros-lajos-gyorgy commented 7 years ago

Added a method for the plugin users to get the list of files imported by less. This feature can also be found in postcss-import, but it only works for css files. This feature is great for people, who would like to develop some sort of watcher functionality around postcss.

Also, the key is removed from the options before passing it to the less parser.

matthew-dean commented 7 years ago

Thanks!