github-pages-template
github-pages-template copied to clipboard
Check for unused CSS rules
After the CSS compilation step (if any)
UnCSS is the tool we want.
Work plan
Add a test to package.json that checks all rules in build//*.css versus the rules used in build//*.html.
If any unused rules are found, throw an error.
Include this test in the main yarn test script.