Closed SevereOverfl0w closed 8 years ago
@SevereOverfl0w Hmm -- well, I'm certainly open to it, although if imports are happening before doiuse gets to the CSS, it might be hard to know exactly what came from each file.
Doiuse is picking up the filename, I'm not entirely sure how though! But its definitely correct.
I'll have a go soon! On 8 Nov 2015 2:00 am, "Anand Thakker" notifications@github.com wrote:
@SevereOverfl0w https://github.com/SevereOverfl0w Hmm -- well, I'm certainly open to it, although if imports are happening before doiuse gets to the CSS, it might be hard to know exactly what came from each file.
— Reply to this email directly or view it on GitHub https://github.com/anandthakker/doiuse/issues/29#issuecomment-154770181.
doiuse is picking up the filename, as a node's source has a "file" attribute, which is the original file the line comes from.
Currently testing this locally.
Ah, right. Happy to take a PR on it--otherwise, I'd definitely like to add it, but it might take a little while before I'll have time..
On Mon, Nov 9, 2015 at 6:35 AM Dominic Monroe notifications@github.com wrote:
doiuse is picking up the filename, as a node's source has a "file" attribute, which is the original file the line comes from.
— Reply to this email directly or view it on GitHub https://github.com/anandthakker/doiuse/issues/29#issuecomment-155037035.
Yep, it should be a fairly simple addition. I'll pull in minimatch, and match it against the path. I'll find some time in the next couple days to add it.
:+1:
On Mon, Nov 9, 2015 at 8:57 AM Dominic Monroe notifications@github.com wrote:
Yep, it should be a fairly simple addition. I'll pull in minimatch, and match it against the path. I'll find some time in the next couple days to add it.
— Reply to this email directly or view it on GitHub https://github.com/anandthakker/doiuse/issues/29#issuecomment-155068885.
Closed by #30
Would it be possible to ask doiuse to ignore a file based on name? I have Normalize.css being imported via postcss-import, and as it has a lot of browser-specific fixes in there, it's upsetting doiuse.
I have seen that you've slowed down on development, and would be happy to open a PR if you think it's relatively feasible within the codebase.