Skip to content

Commit

Permalink
build: Add @babel/plugin-proposal-optional-chaining as Babel plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
annelhote committed Aug 24, 2020
1 parent ef65aab commit 7746e7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
module.exports = {
presets: [
'@vue/app'
],
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 @@ -35,6 +35,7 @@
"vue-i18n": "^8.18.2"
},
"devDependencies": {
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
"@kazupon/vue-i18n-loader": "^0.5.0",
"@testing-library/jest-dom": "^5.11.3",
"@vue/cli-plugin-babel": "^4.5.4",
Expand Down

0 comments on commit 7746e7f

Please sign in to comment.