Jetpack compiles your code using babel-preset-env
and postcss-preset-env
plugins to ensure the code is ready for all the browsers you support. Those projects follow the lovely browserlist convention.
By default, jetpack uses the defaults that browserslist recommends.
To configure the list of browsers, you can use any of method supported by browserslist:
{
"private": true,
"dependencies": {
"autoprefixer": "^6.5.4"
},
"browserslist": [
"last 1 version",
"> 1%",
"IE 10"
]
}
# Browsers that we support
last 1 version
> 1%
IE 10 # sorry
See browserslist docs for full details.