vue-pure-admin2/babel.config.js

7 lines
172 B
JavaScript
Raw Normal View History

2021-07-07 13:33:47 +08:00
const productPlugins = [];
process.env.NODE_ENV === "production" &&
productPlugins.push("transform-remove-console");
2021-03-01 15:26:05 +08:00
module.exports = {
2021-07-07 13:33:47 +08:00
plugins: [...productPlugins]
};