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

A warning about "caniuse-lite" prints during minification #10682

Open
glasser opened this issue Aug 29, 2019 · 1 comment

Comments

@glasser
Copy link
Member

commented Aug 29, 2019

minifier-css depends recursively on browserslist, which you can see in its checked-in shrinkwrap file.

browserslist has this code to print a warning if its dependency caniuse-lite is more than 6 months out of date. It was last updated in Meteor in February so it is printing for all users who minify right now.

I don't even know if minifier-css takes advantage of anything provided by browserslist or caniuse-lite. I suggest it should set the $BROWSERSLIST_IGNORE_OLD_DATA environment variable to disable this warning.

@benjamn

This comment has been minimized.

Copy link
Member

commented Sep 6, 2019

Should be mitigated by c2499b1, which will be released as part of Meteor 1.8.2. Disabling the warning is tempting, but I don't mind the additional incentive to keep these packages up-to-date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.