rails / cssbundling-rails

Bundle and process CSS in Rails with Tailwind, PostCSS, and Sass via Node.js.
MIT License
579 stars 83 forks source link

Update default tailwind.config.js for Tailwind 3 #47

Closed anonoz closed 2 years ago

anonoz commented 2 years ago

The css:install:tailwind task simply installs the latest version of Tailwind. The new major release of Tailwind has changed from using purge to content.

We are getting warning if we don't update:

warn - The `purge`/`content` options have changed in Tailwind CSS v3.0.
warn - Update your configuration file to eliminate this warning.       

Reference: