Closed cmalven closed 11 years ago
I figured it out. This was incredibly frustrating, but probably not anyones fault.
The path to my css file had a space in it. Removed the space and everything works fine. Ugh.
Just an additional note on this we ran into today: this issue is not limited to the relative path, but the system path as well. Nothing can have spaces.
I proposed a fix for this in LearnBoost/juice#53
This is going to be a really vague issue, so I apologize in advance. The thing is, even the simplest possible test case fails for me: using
in.html
andfile.css
located in your example folder with aninlinecss
task identical to the one provided in yourREADME
.Thing is, I can tell that the task is running and it doesn't report any errors. Grunt reports:
And the
<style>
block and<link>
are properly removed fromout.html
, but there is no CSS inlined. I've also tried various other test cases using more custom code. No dice.I have no idea how to even troubleshoot this further. Could I possibly be missing an npm dependency somewhere? Any help on tracking down the problem would be greatly appreciated, and if I can provide any more info I'll gladly do so.