1.0.4 • Published 3 months ago

@hpe.com/vite-plugin-svg-to-jsx v1.0.4

Weekly downloads
-
License
-
Repository
-
Last release
3 months ago

vite-plugin-svg-to-jsx

A function to transform svg to react

const svgToReact = (config: SvgoConfig): Plugin[]

How to use

import { svgToReact } from 'vite-plugin-svg-to-jsx';

How to release

With your changes safely in the main branch, run:

npm version patch # also takes minor or major

to bump the version number of the package as well as push it as a git tag for others.

Working between hew and another repo

Sometimes, you'll have to update hew as an upstream change to another repo, like determined. Here's how to handle that process:

  • When you're working locally and want to check your ui kit changes in your other repo:
    • make sure you're using the same version of node between this and your other repo
    • run npm link in this repo folder
    • run npm link vite-plugin-svg-to-jsx --save in the other repo's folder
      • remember to run npm unlink vite-plugin-svg-to-jsx when you're done!
1.0.4

3 months ago

1.0.3

3 months ago

1.0.2

3 months ago

1.0.1

3 months ago