Extract Covered and Uncovered CSS & JS from your website.
Generate a Coverage report:
- Open Chrome Dev Tools
- In the Console panel click the three dots and Coverage
- Record
- Export Json
- Copy the content of the JSON file and paste in step 1.
- Click 2. Extract and done.
- Checkout this repo
- Run npm install
- Run npm start -> localhost:8080 (dev content with hot reloading)
- Run npm build -> docs/index.html (prod content) (cause docs is a known folder for github pages)
Live site: https://weisser-dev.github.io/devtools-coverage-extractor/