Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Grunt plugin to inline the contents of a css file Reply To: Grunt plugin to inline the contents of a css file

#256044
Morgan
Participant

Hi Atelierbram

I’m using Pug as my templating language. The thought to simply include the file via that didn’t even cross my mind. Thank you, it’s now working exactly how I wanted.

style(type='text/css')
    include ../../staging/css/critical.css

Thank you for your help,
Morgan