Skip to content
This repository has been archived by the owner on May 11, 2018. It is now read-only.

Use Browserslist 2 #325

Closed
ai opened this issue May 16, 2017 · 2 comments
Closed

Use Browserslist 2 #325

ai opened this issue May 16, 2017 · 2 comments

Comments

@ai
Copy link

ai commented May 16, 2017

We released Browserslist 2 with (full changelog with our reasons):

  1. Better performance because of caching
  2. It depends on caniuse-lite (1 MB) instead of caniuse-db (7 MB)
  3. Now last n versions contains all browsers

Unfortunately, this changes requires major update for this tool too. But all this changes are important and will not have problems for most of users. As people told on conferences — don’t afraid major releases, just make changes smaller — it is best example.

We already released Autoprefixer 7 and doiuse 3 with new Browserslist. It is important for community to have same Browserslist version (especially because of different last n versions behaviour).

I understand that you will be able to update Browserslist only in next major (together with correct Browserslist usage).

@existentialism
Copy link
Member

@ai we actually landed it in #319, since we actually have a filter: https://github.com/babel/babel-preset-env/blob/master/src/index.js#L49. Going to land a few other 2.x backports and ship a 1.5 asap!

@existentialism
Copy link
Member

Released v1.5 which has browserslist 2!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants