0 votes
in VueJS by
What is the purpose of browserslist option?

1 Answer

0 votes
by

The browserslist option is available in package.json file in order to specify a range of browsers the project is supported. This value is going to be used by babel and autoprefixer to transpile javascript features and applying vendor prefixes.

For example, you can declare it as follows,

"browserslist": [
    "last 1 version",
    "> 1%",
    "IE 10"
  ]
...