Generate a critical-css file by from a website by providing a URL using puppeteer, critical, & cssnano
$ git clone https://github.com/steveosoule/remote-critical-css.git$ cd remote-critical-css$ npm install- Download the css files that are used on the site and place them in a mirrored path in the src file. For example, if your css is located at
https://example.com/css/main.css, download that file to:src/css/main.cssand repeat that for each css file that is used on your site. (Note: looking to automate this in the future) $ node index.js run --auth.username=foo --auth.password=bar -u https://www.example.com,https://www.example.com/another/page.html