Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Weeken/farm-plugin-console-clear

A rust plugin for farm to clear console statement
https://github.com/Weeken/farm-plugin-console-clear

Last synced: about 2 months ago
JSON representation

A rust plugin for farm to clear console statement

Awesome Lists containing this project

README

        

## farm-plugin-console-clear

A rust plugin for [farm](https://github.com/farm-fe/farm) to clear console statement.

### Install

```bash
pnpm add -D farm-plugin-console-clear
```

### Usage

```ts
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/"],
}),
],
});
```