Skip to main content

@farmfe/js-plugin-svgr

Support React SVG Components for Farm.

Installation

Usage

Options

svgrOptions

See svgr options for more details.

Example:

filters

Which files should be processed by svgr. Default to { resolvedPaths: ['\\.svg$'] }.

  • resolvedPaths: Only files under these paths will be processed. Support regex.

Example:

Extremely Fast Web Build Tool Written in Rust

Copyright © 2024 Farm Community. Built with Docusaurus.