PostCSS plugin for limit plugins matching.
For safer and faster.
npm install postcss-plugin-matcher --save-dev
// example: postcss.config.cjs
module.exports = {
plugins: {
- 'tailwindcss': {},
+ 'postcss-plugin-matcher': {
+ plugins: ['tailwindcss'],
+ include: ['src/**'],
+ exclude: ['app.css']
+ }
}
};