JSPM

refinecss

0.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8
  • Score
    100M100P100Q25504F
  • License MIT

Post build unused css remover

Package Exports

  • refinecss
  • refinecss/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (refinecss) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

refinecss-logo Refine CSS - 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.