mitodl / mitxpro

BSD 3-Clause "New" or "Revised" License
11 stars 2 forks source link

Fix autoprefixer browsers warning #1005

Open noisecapella opened 4 years ago

noisecapella commented 4 years ago

Travis has started outputting this warning:

  Replace Autoprefixer browsers option to Browserslist config.
  Use browserslist key in package.json or .browserslistrc file.
  Using browsers option cause some error. Browserslist config 
  can be used for Babel, Autoprefixer, postcss-normalize and other tools.
  If you really need to use option, rename it to overrideBrowserslist.
  Learn more at:

  https://github.com/browserslist/browserslist#readme

  https://twitter.com/browserslist

https://travis-ci.org/mitodl/mitxpro/jobs/571932897#L902

noisecapella commented 2 years ago

We use browserslist in package.json in other projects like ocw-studio: https://github.com/mitodl/ocw-studio/blob/d485ab36a436b034a8bd94ed4178e6dbeab58a62/package.json#L162. I think we can probably just set it here similarly to fix this issue