Closed badtant closed 1 year ago
The JS API is apparently meant to be used with postcss
.
The doiuse
function does not accept files but instead returns an object with a postcss
callback, and it is that callback which gets passed the files (based on thecss
object passed into it): https://github.com/anandthakker/doiuse/blob/master/src/doiuse.js#L37 . You'd have to look at postcss
to understand how this is processed.
Answered.
Hi,
I'm trying to use the JS example don't understand how to specify which files to check. These is a ignoreFiles option but no files option?
Thanks