Skip to content

Commit

Permalink
Update babelrc
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonEtco committed Aug 27, 2019
1 parent 2cf3f56 commit 5dc262c
Showing 1 changed file with 12 additions and 21 deletions.
33 changes: 12 additions & 21 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,27 +1,18 @@
{
"presets": [
["@babel/preset-env", {
"targets": {
"browsers": [
"last 2 versions",
"ios_saf >= 8",
"ie >= 10",
"chrome >= 49",
"firefox >= 49",
"> 1%"
]
},
"debug": false,
"loose": true,
"useBuiltIns": "entry"
}],
"@babel/preset-react"
"@babel/env",
"@babel/react"
],
"plugins": [
"@babel/plugin-proposal-class-properties",
[
"@babel/plugin-proposal-object-rest-spread",
{ "useBuiltIns": true }
]
]
"@babel/plugin-transform-runtime"
],
"env": {
"test": {
"presets": [
["@babel/env", { "exclude": ["transform-classes"] }],
"@babel/react"
]
}
}
}

0 comments on commit 5dc262c

Please sign in to comment.