add: 初始化
This commit is contained in:
@@ -4,7 +4,10 @@ if (process.env.NODE_ENV === 'production') {
|
||||
plugins.push('transform-remove-console')
|
||||
}
|
||||
module.exports = {
|
||||
plugins: plugins,
|
||||
plugins: [
|
||||
...plugins,
|
||||
'@babel/plugin-proposal-optional-chaining' // 添加可选链插件
|
||||
],
|
||||
presets: [
|
||||
'@vue/app'
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user