Open
Description
What problem does this feature solve?
The documentatin of @babel/preset-env
states, that when targets:
is not set, the file .browserslist
is considered, but if targets:
is “set but not specified” (it really states so), then the generated output is for ES2020 (babel/website#2245).
What does the proposed API look like?
Extend the documentation of @vue/babel-preset-app
to state what are the default targets, if no targets are specified in the package.json
or .browserslist
file and otherwise no defaults are set.
Note, that for browserslist no .browserslist
files means a .browserslist
file containing the text defaults
, which includes IE11. But for @babel/preset-env
no .browserslist
file seems to mean something different than .browserslist
file containing defaults
.