Overview
Farm officially provides a lot of useful plugins, including Rust plugins and JS plugins. Rust plugins are much faster than Js plugins, we recommend to use Rust plugins whenever possible.
tip
Refer to Using Plugins for how to use plugins in Farm.
Rust Plugins
@farmfe/plugin-react
:Support Reactjsx
andreact-refresh
.@farmfe/plugin-sass
:Support compilingsass/scss
files.
Js Plugins
@farmfe/js-plugin-postcss
:Supportpostcss
in your project.@farmfe/js-plugin-less
:Support compilingless
files.@farmfe/js-plugin-svgr
:Support compilingsvg
files.@farmfe/js-plugin-dts
:Support compiling*.d.ts
files.@farmfe/js-plugin-sass
:Support compilingsass/scss
files.
tip
If official plugins doesn't meet your needs, you can try Community Plugins