Skip to content

Where can I set the options for @vue/babel-preset-app? #6913

Answered by screetBloom
jessegavin asked this question in Q&A
Discussion options

You must be logged in to vote

You can specify browsers in package.json browserslist or .browserslistrc

A default Vue CLI project uses browserslist field in package.json.

// package.json
{
  "name": "vue-project",
  "browserslist": [
    "> 1%",
    "last 2 versions",
    "IE 10"
  ],
}

@jessegavin

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@jessegavin
Comment options

@screetBloom
Comment options

@jessegavin
Comment options

@screetBloom
Comment options

@jessegavin
Comment options

Answer selected by jessegavin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants