Farm Plugin Tools is built on top of
@napi-rs/cli
.
Compatibility Note: Farm requires Node.js version 16+. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.
pnpm add @farmfe/plugin-tools -D
build your farm plugin:
farm-plugin-tools build
prepublish your farm plugin:
farm-plugin-tool prepublish