Files
hl_two/acs/qd - 副本/babel.config.js
USER-20220102CG\noblelift 54e46e8d05 代码重构
2022-08-29 16:09:25 +08:00

12 lines
248 B
JavaScript

const plugins = ['@vue/babel-plugin-transform-vue-jsx']
// 生产环境移除console
if (process.env.NODE_ENV === 'production') {
plugins.push('transform-remove-console')
}
module.exports = {
plugins: plugins,
presets: [
'@vue/app'
]
}