grunt-critical
grunt-critical copied to clipboard
Running task saves new CSS file with local paths
If I have a line of code in my CSS, like:
@font-face {
font-family: 'gotham-book';
src: url('../fonts/gotham-book.woff') format('woff');
}
When Grunt Critical is fired it changes the path to my local path.
Just like this:
src:url(../../../../../websites/homestead/projects/myproject/user/themes/hdwp-theme/fonts/gotham-book.woff)
Any idea how I can preserve the file paths?
Thanks for reporting @hdwebpros. This seems to be an error over at critical which i‘ve encountered recently. Already searching for a fix ;)
Thanks for letting me know! I hope it is a simple fix