add:初始化

This commit is contained in:
2025-12-22 13:09:50 +08:00
commit d8e1ef0b3e
1857 changed files with 181418 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
const plugins = ['@vue/babel-plugin-transform-vue-jsx']
// // 生产环境移除console
// if (process.env.NODE_ENV === 'production') {
// plugins.push('transform-remove-console')
// }
module.exports = {
plugins: [
...plugins,
'@babel/plugin-proposal-optional-chaining' // 添加可选链插件
],
presets: [
'@vue/app'
]
}