Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 397 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 397 Bytes

@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()],
});