1.0.9 • Published 4 months ago
rdhq-icons v1.0.9
SVG Icon Component Library for React
This is a starter project for an SVG-based icon component library for React, built using SVGR and Rollup.
Overview
Generate ready-made React components from .svg
files using @svgr/cli
and bundle them into a library using rollup
. No need to write any React code yourself!
Watch the tutorial video here!
Plugins
The following plugins are utilized in this project:
Rollup:
Babel:
Deployment
- Run both "yarn prebuild" and "yarn build" commands to generate e new build.
- Update the package version in "package.json".
- Run "npm publish" to publish a new version of the package.