Skip to content

Include SVGs in NPM package#210

Merged
jfly merged 1 commit intocubing:mainfrom
kognise:svgs-in-npm
Feb 27, 2026
Merged

Include SVGs in NPM package#210
jfly merged 1 commit intocubing:mainfrom
kognise:svgs-in-npm

Conversation

@kognise
Copy link
Contributor

@kognise kognise commented Feb 27, 2026

This PR bundles the SVG source files in the published NPM package.

This is an easy first step to import the icons from a variety of frameworks without spending extra effort on direct support. For example, SVGs can be easily imported as React components using SVGR.

Relevant prior discussion: #151

Copy link
Member

@jfly jfly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I did not meant to make you create a whole new PR, just a separate commit. Anyways, thank you!

@jfly jfly merged commit b0789c8 into cubing:main Feb 27, 2026
2 checks passed
@kognise kognise deleted the svgs-in-npm branch February 27, 2026 23:39
@lgarron lgarron mentioned this pull request Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants