Skip to content

jstors/farm-plugin-remove-console

Repository files navigation

farm-plugin-remove-console

NPM Version GitHub Actions Workflow Status

Remove all console.log in the production environment .

Usage

pnpm install -D farm-plugin-remove-console
export default defineConfig({
  plugins: [
    [
      'farm-plugin-remove-console',
      {
        // plugin options
        // include: ["./src/**/*"],
      },
    ],
  ],
});

feature options

  • include
  • exclude
  • customRegex