Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/best-shot/postcss-plugin-matcher
- Owner: best-shot
- License: mit
- Created: 2021-08-27T10:32:22.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-11-16T06:57:17.000Z (almost 1 year ago)
- Last Synced: 2024-10-01T15:08:19.787Z (about 1 month ago)
- Topics: postcss, postcss-plugin
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/postcss-plugin-matcher
- Size: 171 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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']
+ }
}
};
```