Skip to content

Weeken/farm-plugin-console-clear

Repository files navigation

farm-plugin-console-clear

A rust plugin for farm to clear console statement.

Install

pnpm add -D farm-plugin-console-clear

Usage

import { defineConfig } from "@farmfe/core";
import consoleClear from "farm-plugin-console-clear";

interface Options {
  include: string[]; // default: "src/"
  exclude: string[]; // default: "node_modules/"
}

export default defineConfig({
  plugins: [
    consoleClear({
      include: ["src/"],
      exclude: ["node_modules/"],
    }),
  ],
});

About

A rust plugin for farm to clear console statement

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published