Skip to main content
Version: 1.0.0

Overview

To use a Rust plugin, configuring plugins in farm.config.ts.

import { defineFarmConfig } from '@farmfe/core';

defineFarmConfig({
// ...
plugins: [
{ /*..*/ }, // Js plugin, a object with hook defined
'@farmfe/plugin-react', // rust plugin package name
]
})

Farm support both rust plugins and js plugins: