Skip to content

Commit 462a160

Browse files
committed
Remove redundancy in browser resolution and use defaults
1 parent 150fbb0 commit 462a160

File tree

2 files changed

+7
-16
lines changed

2 files changed

+7
-16
lines changed

.babelrc

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
1-
{
2-
"presets": [
3-
"@babel/preset-react",
4-
["@babel/preset-env", {
5-
"targets": {
6-
"browsers": ["last 2 versions"]
7-
}
8-
}]
9-
],
10-
"plugins": [
11-
["@babel/plugin-proposal-class-properties", {
12-
"loose": false
13-
}]
14-
]
15-
}
1+
{
2+
"presets": [
3+
"@babel/preset-react",
4+
"@babel/preset-env"
5+
]
6+
}

.browserslistrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
last 2 versions
1+
defaults

0 commit comments

Comments
 (0)