Vite based SVG information reading plug-in can read iconfont's SVG icon file. It can specify input directory, output directory Output the file name to generate a JS script file containing SVG information. Then you can use them to generate SVG icons. ##
@vue/compiler-sfc
Vite plugin to transform SVGs into React components
babel plugin that emulates vite's import.meta.env functionality
Transform DOM elements into react-native-svg components
babel plugin that emulates vite's import.meta.glob import.meta.globEager functionality
Transform SVG into component
babel plugin that emulates vite's import.meta.hot functionality
externals plugin for vite
Remove unnecessary React propTypes from the production build
This plugin transforms ES2015 modules to CommonJS
Compile ES2015 for...of to ES5
This plugin transforms ES2015 modules to UMD
Compile objects with duplicate keys to valid strict ES5
Compile ES2015 block scoping (const and let) to ES5
Compile regular expressions using named groups to ES5.
Apply ES2015 function.name semantics to all functions
Compile ES2015 spread to ES5
Compile ES2015 arrow functions to ES5
Compile ES2015 unicode string and number literals to ES5
Add a __source prop to all JSX Elements
Compile ES2015 template literals to ES5
Transform import() expressions
Compile ES2015 classes to ES5