You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
417 B
JavaScript
20 lines
417 B
JavaScript
/*
|
|
* @Description:
|
|
* @Autor: 飘泊客
|
|
* @Date: 2021-12-15 14:44:41
|
|
* @LastEditors: 飘泊客
|
|
* @LastEditTime: 2022-02-25 17:47:37
|
|
*/
|
|
const plugins = ['@vue/babel-plugin-transform-vue-jsx']
|
|
// 生产环境移除console
|
|
if (process.env.NODE_ENV === 'production') {
|
|
plugins.push('transform-remove-console')
|
|
}
|
|
module.exports = {
|
|
plugins: plugins,
|
|
sourceType: 'unambiguous',
|
|
presets: [
|
|
'@vue/app'
|
|
]
|
|
}
|