filamentgroup / grunt-criticalcss

Grunt wrapper for criticalcss
MIT License
530 stars 26 forks source link

add options to prepend and append to criticalcss #48

Closed JanneAalto closed 1 year ago

JanneAalto commented 7 years ago

main: { options: { url: "http://localhost:5000", width: 1280, height: 676, outputfile: "source/critical.scss", //clean this with grunt filename: "/path/to/local/all.css", // Using path.resolve( path.join( ... ) ) is a good idea here buffer: 800 * 1024, ignoreConsole: false, prepend: '// sass-lint:disable-all', append: '// sass-lint:enable-all' } }