Skip to content

Commit

Permalink
specify env in babel, set loose to true
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Jun 18, 2021
1 parent e501d4f commit d0358da
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{
"presets": ["@babel/preset-env", "@babel/preset-react"],
"presets": [
[
"@babel/preset-env",
{
"loose": true,
"targets": "> 0.25%, not dead"
}
],
"@babel/preset-react"
],
"plugins": [
["@babel/plugin-proposal-optional-chaining"],
[
Expand Down

0 comments on commit d0358da

Please sign in to comment.