You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running a project that includes react-photoswipe, the following warning is issued in the console:
Replace Autoprefixer browsers option to Browserslist config.
Use browserslist key in package.json or .browserslistrc file.
Using browsers option can cause errors. 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
When running a project that includes
react-photoswipe
, the following warning is issued in the console:I believe this is because
react-photoswipe
is specifying thebrowsers
option forautoprefixer
here: https://github.com/minhtranite/react-photoswipe/blob/master/postcss.config.js#L9. This should be removed and possibly replaced with abrowserslist
key inpackage.json
or a .browserslistrc file.The text was updated successfully, but these errors were encountered: