Legacy compilation of target browsers
Browserslist shareable config for Browserslist.
npm install browserslist @justia/browserslist-config --save-dev
Add this to your package.json
file:
"browserslist": [
"extends @justia/browserslist-config"
]
Alternatively, add this to .browserslistrc
file:
extends @justia/browserslist-config
This package when imported returns an array of supported browsers, for more configuration examples including Autoprefixer, Babel, ESLint, PostCSS, and stylelint see the Browserslist examples repo.
Entry with a list of specific old browsers. You can include it in your package.json
or .browserslistrc
file like this:
"browserslist": [
"extends @justia/browserslist-config/legacy"
]