We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
In more custom setups the tailwind config file might not be in the project root or might be named differently to tailwind.js or tailwind.config.js.
tailwind.js
tailwind.config.js
Tailwind supports these setups by specifying the config file in postcss.config.js
postcss.config.js
for example
module.exports = { plugins: { tailwindcss: { config: "./tailwind.config.cjs" }, autoprefixer: {}, }, };
It would be good if this plugin could scan postcss.config.js and if the tailwind file is defined there use that.
The text was updated successfully, but these errors were encountered:
This actually appears to work so perhaps a clarification in the docs is needed?
Sorry, something went wrong.
Clarify supported config file names in readme (#278)
79aad93
Yep tailwind.config.cjs is supported! Added a clarification to the readme, thanks!
tailwind.config.cjs
No branches or pull requests
In more custom setups the tailwind config file might not be in the project root or might be named differently to
tailwind.js
ortailwind.config.js
.Tailwind supports these setups by specifying the config file in
postcss.config.js
for example
It would be good if this plugin could scan
postcss.config.js
and if the tailwind file is defined there use that.The text was updated successfully, but these errors were encountered: