Skip to content

Commit

Permalink
新增 @babel/plugin-proposal-nullish-coalescing-operator 修復編譯錯誤
Browse files Browse the repository at this point in the history
  • Loading branch information
GoneTone committed Apr 27, 2021
1 parent 2d87e94 commit 3278c10
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/cli-plugin-babel/preset'
],
plugins: [
'@babel/plugin-proposal-nullish-coalescing-operator'
]
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"vuex": "^4.0.0-0"
},
"devDependencies": {
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.8",
"@intlify/vue-i18n-loader": "^2.0.0-rc.1",
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-eslint": "~4.5.0",
Expand Down

0 comments on commit 3278c10

Please sign in to comment.