-
-
Notifications
You must be signed in to change notification settings - Fork 424
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
Generate index.js when --out-dir
option is used
#189
Comments
This package may help https://github.com/gajus/create-index |
@sis @gregberge the package above doesn't have options to generate index.ts. Rest all good. Open issue here - gajus/create-index#48 |
Here, I have written a tiny
|
could we have semicolons at the end of the default template or an example of how to customize it? |
Custom templates are now supported. A next step would be to run prettier on the index file. Do you want to submit a PR to do it? |
Figured it out in a different issue, thanks! |
I understand it's nice to have index.js auto generated, but is there a way to not forcing it? I had to specify |
I concur with @gucolin, any update on not generating index file? Thanks in advance! |
I have the same request as @gucolin and @antonhalim… I’m currently using a simple bash script to reformat and move my SVGs from a zip file exported from Figma. I could just delete index.js via the script but I’d really rather a configuration option for the CLI. |
As suggested in #161, we could generate an
index.js
containing all icons when we use--out-dir
option.Be careful to be compatible with #182.
The text was updated successfully, but these errors were encountered: