beelink/babel.config.js

11 lines
199 B
JavaScript
Raw Permalink Normal View History

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