Skip to content

Conversation

@lennertVanSever
Copy link
Contributor

First of all, thanks a lot for this tool, it works well and it saved me a lot of time!

We had a requirement that private components should be ignored in the SVG export. In Figma, they are identified by starting the component name with a dot or an underscore.

So I adapted your tool to specifically ignore components starting with a dot or underscore. Let me know if you want to make this an environment variable or at least document it.

More info from the Figma docs

Screenshot 2021-03-09 at 18 04 40

@jacobtyq
Copy link
Owner

Glad that it works for you! Sure I wouldn't mind having this added into the repo. I'd add a env that can toggle this as a feature

Copy link
Owner

@jacobtyq jacobtyq left a comment

Choose a reason for hiding this comment

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

LGTM 🙇

@jacobtyq jacobtyq merged commit 4084720 into jacobtyq:master Mar 10, 2021
jacobtyq added a commit that referenced this pull request Mar 10, 2021
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