We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This isn't so much an issue, but something I wanted to share here.
Longer story short, I was having a hard time getting the postcss-remove-class plugin to work with the way postcss.config.cjs was defined.
postcss-remove-class
postcss.config.cjs
This ESM approach worked better for me (renamed as postcss.config.js):
postcss.config.js
import tailwindcss from 'tailwindcss'; import autoprefixer from 'autoprefixer'; import postcssRemoveClasses from 'postcss-remove-classes'; export default { plugins: [ tailwindcss(), autoprefixer(), postcssRemoveClasses.default('range'), ], }
There may be a solution using the previous format of the file, but I wasn't finding the approach very intuitive 🤷
The text was updated successfully, but these errors were encountered:
Made this the standard way for next release
Sorry, something went wrong.
No branches or pull requests
This isn't so much an issue, but something I wanted to share here.
Longer story short, I was having a hard time getting the
postcss-remove-class
plugin to work with the waypostcss.config.cjs
was defined.This ESM approach worked better for me (renamed as
postcss.config.js
):There may be a solution using the previous format of the file, but I wasn't finding the approach very intuitive 🤷
The text was updated successfully, but these errors were encountered: