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