A Node Project to Bulk Find Unused CSS and Javascript with Puppeteer
https://medium.comOn individual URLs, you can use the code coverage report on Chrome to check how much of the CSS and JavaScript files are unused on that page. If you have multiple pages and what to do that same now you can use puppeteer to automate and bulk test that.
The script creates a CSV with url, asset url and unused %. A pivot table with row = asset URL.