Skip to content

Latest commit

 

History

History

svgr

@farmfe/plugin-svgr

react svg component generator

Installation

npm i -D @farmfe/plugin-svgr

Usage

Create a farm.config.js configuration file and import the plugin:

import { defineConfig } from "@farmfe/core";
import svgr from "@farmfe/plugin-svgr";
export default defineConfig({
  plugins: [svgr()],
});