Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only adding new icons to the file? #412

Open
gerborisova opened this issue Jul 28, 2023 · 1 comment
Open

Only adding new icons to the file? #412

gerborisova opened this issue Jul 28, 2023 · 1 comment

Comments

@gerborisova
Copy link

gerborisova commented Jul 28, 2023

Hi,
Is there an option to only add new items to the output file from create-chakra-icons not generate it from scratch every time?
I'm asking this because I have many icons and I'm wondering if I can skip commiting them in git.
If we have the option to only extend the output document, other team members will be able to add icons to the document without having the original svg of the previous icons.

@r17x
Copy link
Contributor

r17x commented Aug 13, 2023

Hi @gerborisova

I think you can see how we produce @chakra-icons/* in this directory.

We didn't commit the svg from the source, we just generate the typescript code. Then, build and distributed on npm.

Maybe that will help you. However, if you still have questions, don't hesitate to ask again.

Thank you

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

No branches or pull requests

2 participants