Skip to content

appzic/refinecss

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

refinecss-logo

RefineCSS

Post build unused css remover

GitHub Workflow Status npm npm GitHub

πŸ“– Table of Contents

πŸš€ Getting Started

Installation

We recommend installing RefineCSS as a dev dependency

npm i -D refinecss

Remove unused css

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.

refinecss results

πŸ’» Command-line

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.

πŸ™ Contributing

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.

❀️ Contributors

πŸ›‘οΈ License

refinecss is MIT licensed.