Skip to main content
Version: 0.15

Overview

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

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

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

Farm support both rust plugins and js plugins:

Extremely Fast Web Build Tool Written in Rust

Copyright © 2024 Farm Community. Built with Docusaurus.