Browse Source

babelrc: define browser targets

master
Peter Cai 3 years ago
parent
commit
a476ec21a3
No known key found for this signature in database
GPG Key ID: 71F5FB4E4F3FD54F
  1. 12
      .babelrc

12
.babelrc

@ -1,6 +1,16 @@
{
"presets": [
"@babel/preset-env",
[
"@babel/preset-env",
{
"targets": {
"chrome": 61,
"firefox": 60,
"edge": 16,
"safari": 11
}
}
],
"@babel/preset-react"
]
}
Loading…
Cancel
Save