Remove all console.log in the production environment .
pnpm install -D farm-plugin-remove-console
export default defineConfig({
plugins: [
[
'farm-plugin-remove-console',
{
// plugin options
// include: ["./src/**/*"],
},
],
],
});
- include
- exclude
- customRegex