Skip to content

suppress caniuse-lite is outdated warning #536

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

Merged
merged 2 commits into from
Apr 21, 2025

Conversation

wlipa
Copy link

@wlipa wlipa commented Apr 13, 2025

Adds BROWSERSLIST_IGNORE_OLD_DATA to the environment when spawning from the Puma helper or rake tasks. This avoids a 3 line warning message about stale browser data on every run.

I added this on the v3 branch only because that branch is expected to change rarely. v4 sees frequent updates so likely no need for this configuration (at least until v5).

Fixes flavorjones/tailwindcss-ruby#76

take 2

@flavorjones
Copy link
Member

Thanks for opening this. I'll take a look this week.

@flavorjones flavorjones force-pushed the quiesce-caniuse-warning branch from 09c9719 to 06f5d45 Compare April 21, 2025 17:15
Copy link
Member

@flavorjones flavorjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you. I renamed Env to ENV because it's not a class, but otherwise going to merge this and cut a release.

@wlipa
Copy link
Author

wlipa commented Apr 21, 2025

Thank you! I think I forgot what language I was writing at the time. 😀

@flavorjones flavorjones merged commit 3bdd471 into rails:v3-stable Apr 21, 2025
12 checks passed
@flavorjones
Copy link
Member

Just released https://github.com/rails/tailwindcss-rails/releases/tag/v3.3.2

Thanks again!

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.

2 participants