farm-plugin-console-clear
v0.0.1
Published
A rust plugin for [farm](https://github.com/farm-fe/farm) to clear console statement.
Downloads
19
Maintainers
Readme
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/"],
}),
],
});