Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/Weeken/farm-plugin-console-clear
- Owner: Weeken
- Created: 2024-07-25T09:42:58.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-25T10:34:33.000Z (5 months ago)
- Last Synced: 2024-10-03T17:17:23.971Z (3 months ago)
- Language: JavaScript
- Size: 965 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-farm - `farm-plugin-console-clear`
- awesome-farm - `farm-plugin-console-clear`
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/"],
}),
],
});
```