Ideas how to support Tailwind CSS 4.x in django-tailwind-cli

Tailwind CSS released its first beta version at the end of November of last year. Since then, I have been thinking about how to implement the changes in the Django library django-tailwind-cli.

Tailwind CSS 4.0 includes some interesting and substantial changes:

Even though the new version still supports configuring the library using a tailwind.config.js, I think about introducing some backward incompatible changes for changes.

Furthermore, I am still not sure how to implement the transition. It can be a hard and manual one, or I can try to implement some kind of migration code. The latter is a lot of work and might not work in all situations. The former requires extra work for the users.

Your feedback is welcome. Leave a comment or write me a message on Mastodon or an email.

#development #django #build in public