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"
  ]

Related questions

0 votes
asked Sep 9, 2023 in VueJS by AdilsonLima
0 votes
asked Sep 15, 2023 in VueJS by JackTerrance
...