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

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

Merged
merged 2 commits into from
Dec 12, 2021
Merged

Conversation

anonoz
Copy link
Contributor

@anonoz anonoz commented Dec 11, 2021

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:

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:
- [Tailwind 3.0 blog post](https://www.themes.dev/blog/tailwind-css-version-3/#purge-needs-to-be-renamed-to-content)
Thanks @karlentwistle

Co-authored-by: Karl Entwistle <me@karlentwistle.com>
@dhh dhh merged commit 8513315 into rails:main Dec 12, 2021
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

Successfully merging this pull request may close these issues.

3 participants