An open API service indexing awesome lists of open source software.

https://github.com/appzic/refinecss

Post build unused css remover
https://github.com/appzic/refinecss

css postbuild purgecss purifycss unusedcss

Last synced: about 1 month ago
JSON representation

Post build unused css remover

Awesome Lists containing this project

README

          


refinecss-logo

RefineCSS



Post build unused css remover



GitHub Workflow Status


npm


npm


GitHub

## 📖 Table of Contents

- [📖 Table of Contents](#-table-of-contents)
- [🚀 Getting Started](#-getting-started)
- [Installation](#installation)
- [Remove unused css](#remove-unused-css)
- [💻 Command-line](#-command-line)
- [🙏 Contributing](#-contributing)
- [❤️ Contributors](#️-contributors)
- [🛡️ License](#️-license)

## 🚀 Getting Started

### Installation

We recommend installing RefineCSS as a dev dependency

```bash
npm i -D refinecss
```

### Remove unused css

After your final build, you can run the following command to remove unused CSS

```
refinecss
```

After removing unused CSS, the results are displayed on the console.

![refinecss results](https://user-images.githubusercontent.com/64678612/210082324-b7768f87-8154-47a7-914f-6b87b20122ca.png)

## 💻 Command-line

```
Post build unused css remover
Usage: refinecss [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](https://github.com/appzic/refinecss/blob/main/CONTRIBUTING.md).

## ❤️ Contributors



## 🛡️ License

refinecss is [MIT](https://github.com/appzic/refinecss/blob/main/LICENSE) licensed.