forked from knyin/finance
1
0
Fork 0
Finance/Fiance-UI/babel.config.js

12 lines
248 B
JavaScript
Raw Normal View History

2023-10-31 23:40:08 +08:00
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'
]
}