Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/best-shot/postcss-plugin-matcher

PostCSS plugin for limit plugins matching
https://github.com/best-shot/postcss-plugin-matcher

postcss postcss-plugin

Last synced: about 1 month ago
JSON representation

PostCSS plugin for limit plugins matching

Awesome Lists containing this project

README

        

# postcss-plugin-matcher

PostCSS plugin for limit plugins matching.

[![npm][npm-badge]][npm-url]
[![github][github-badge]][github-url]
![node][node-badge]

For safer and faster.

[npm-url]: https://www.npmjs.com/package/postcss-plugin-matcher
[npm-badge]: https://img.shields.io/npm/v/postcss-plugin-matcher.svg?style=flat-square&logo=npm
[github-url]: https://github.com/best-shot/postcss-plugin-matcher
[github-badge]: https://img.shields.io/npm/l/postcss-plugin-matcher.svg?style=flat-square&colorB=blue&logo=github
[node-badge]: https://img.shields.io/node/v/postcss-plugin-matcher.svg?style=flat-square&colorB=green&logo=node.js

## Installation

```bash
npm install postcss-plugin-matcher --save-dev
```

## Usage

```diff
// example: postcss.config.cjs
module.exports = {
plugins: {
- 'tailwindcss': {},
+ 'postcss-plugin-matcher': {
+ plugins: ['tailwindcss'],
+ include: ['src/**'],
+ exclude: ['app.css']
+ }
}
};
```