Open fulldecent opened 1 month ago
After the CSS compilation step (if any)
UnCSS is the tool we want.
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.
yarn test
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.