初始化
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// module.exports = {
|
||||
// presets: ['@vue/cli-plugin-babel/preset'],
|
||||
// plugins: ['@babel/plugin-proposal-optional-chaining'],
|
||||
|
||||
// };
|
||||
module.exports = {
|
||||
presets: [
|
||||
'@vue/cli-plugin-babel/preset'
|
||||
],
|
||||
plugins: [
|
||||
// 添加插件配置
|
||||
process.env.NODE_ENV === 'production' && 'transform-remove-console'
|
||||
].filter(Boolean)
|
||||
};
|
||||
Reference in New Issue
Block a user