Skip to content

Commit

Permalink
fix(build): add babel plugin to fix microbundle 0.12 build error
Browse files Browse the repository at this point in the history
  • Loading branch information
mirceanis committed Jun 25, 2020
1 parent e9fbb99 commit e14c2aa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"plugins": [
[
"@babel/plugin-proposal-optional-chaining"
]
]
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"testEnvironment": "node"
},
"devDependencies": {
"@babel/plugin-proposal-optional-chaining": "^7.10.3",
"@semantic-release/changelog": "5.0.1",
"@semantic-release/git": "9.0.0",
"@types/faker": "4.1.12",
Expand Down

0 comments on commit e14c2aa

Please sign in to comment.