Skip to content
New issue

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

Disable tailwind.config.js creation #145

Open
danjac opened this issue Jan 24, 2025 · 2 comments
Open

Disable tailwind.config.js creation #145

danjac opened this issue Jan 24, 2025 · 2 comments

Comments

@danjac
Copy link

danjac commented Jan 24, 2025

In Tailwind v4, the tailwind.config.js is optional with configuration all done in CSS.

While I appreciate a future version of this tool will support v4, would it be possible to include a setting in the meantime that disables auto-generation of this file? Something along the lines of:

TAILWIND_CLI_DISABLE_AUTO_CONFIG_FILE = False
@oliverandrich
Copy link
Member

I have something like that implemented and plan to release a package on the weekend, that supports Tailwind v3 and v4. I had to make up my mind, if I want to support both or switch all in to Tailwind v4.

@danjac
Copy link
Author

danjac commented Jan 25, 2025

I would think quite a few projects will still be using v3 for some time - it's not trivial moving over a large project, even with the upgrade tool. However I also understand supporting both versions might not be easy either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants