Skip to content

Commit

Permalink
add optional chaining plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
khubo committed Feb 4, 2020
1 parent 6dfb53d commit e03db21
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"@babel/env",
"@babel/react"
],
"plugins": ["@babel/plugin-transform-runtime"]
"plugins": ["@babel/plugin-transform-runtime", "@babel/plugin-proposal-optional-chaining"]
}
35 changes: 35 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"devDependencies": {
"@babel/core": "^7.7.7",
"@babel/plugin-proposal-object-rest-spread": "^7.7.7",
"@babel/plugin-proposal-optional-chaining": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.7.6",
"@babel/preset-env": "^7.7.7",
"@babel/preset-react": "^7.7.4",
Expand Down

0 comments on commit e03db21

Please sign in to comment.