vue-pure-admin2/babel.config.js
2021-07-07 13:33:47 +08:00

7 lines
172 B
JavaScript

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