vue-pure-admin2/babel.config.js
2021-03-01 15:26:05 +08:00

7 lines
169 B
JavaScript

const productPlugins = []
process.env.NODE_ENV === "production" && productPlugins.push("transform-remove-console")
module.exports = {
plugins: [...productPlugins],
}