Browserlist Last 2 Versions

May 18, 2018

This one comes via James Kyle, who has worked on Yarn and Babel, among many other things.

It’s been recommended to use “last 2 versions” as the configuration for browserlist for quite a while now. However, you’ll end up supporting browsers you don’t intend to...forever. Instead, you should use:

"browsers": [
  ">0.25%",
  "not ie 11",
  "not op_mini all"
]