beelink/babel.config.js

13 lines
244 B
JavaScript
Raw Normal View History

2020-11-11 10:50:04 +08:00
let build = []
if (process.env.NODE_ENV === 'production') {
2020-12-03 18:10:04 +08:00
build = ['transform-remove-console']
2020-12-04 09:25:43 +08:00
console.log("tianjia")
2020-12-03 18:10:04 +08:00
// build = []
2020-11-11 10:50:04 +08:00
}
2020-09-24 10:26:22 +08:00
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
2020-11-11 10:50:04 +08:00
],
2020-12-03 18:10:04 +08:00
plugins: [...build]
2020-09-24 10:26:22 +08:00
}