Closed rupl closed 1 year ago
Whoops I forgot to mention the important part: this warning is ending up as part of the inlined CSS.
I too have seen this. Verified.
On Sep 16, 2015, at 6:22 AM, Chris Ruppel notifications@github.com wrote:
Whoops I forgot to mention the important part: this warning is ending up as part of the inlined CSS.
— Reply to this email directly or view it on GitHub https://github.com/filamentgroup/grunt-criticalcss/issues/32#issuecomment-140711830.
@jefflembeck has pointed out to me that there is an ignoreConsole
option: https://github.com/filamentgroup/criticalCSS#optionsignoreconsole
I think setting that to true will solve this issue.
You think it's worth defaulting this option to true
? Seems like a sensible default for the general users since the warning itself is out of the control (and not the responsibility) of this project. I've seen this warning verbatim on other downstream projects from Phantom, e.g. Casper tests.
It definitely is.
It will mean a major release (2.0) but il not too opposed to that.
On Wednesday, November 4, 2015, Chris Ruppel notifications@github.com wrote:
You think it's worth defaulting this option to true? Seems like a sensible default for the general users since the warning itself is out of the control (and not the responsibility) of this project. I've seen this warning verbatim on other downstream projects from Phantom, e.g. Casper tests.
— Reply to this email directly or view it on GitHub https://github.com/filamentgroup/grunt-criticalcss/issues/32#issuecomment-153949616 .
I've noticed this before in my own generated CSS and noticed it again while peeking at https://filamentgroup.com to show an example of using this module:
I'm pretty sure this warning comes from PhantomJS: https://github.com/ariya/phantomjs/issues/12697