Post build unused css remover
We recommend installing RefineCSS as a dev dependency
npm i -D refinecss
After your final build, you can run the following command to remove unused CSS
refinecss <build directory>
After removing unused CSS, the results are displayed on the console.
Post build unused css remover
Usage: refinecss <directory of final build> [options]
Options:
--help Show help [boolean]
--version Show version number [boolean]
Examples:
refinecss ./dist with the directory of final build.
If you want to open an issue, create a Pull Request, or simply want to know how you can run it on your local machine, please read the Contributing Guide.
refinecss is MIT licensed.