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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable index file generation #589

Closed
Eli-Nathan opened this issue Aug 27, 2021 · 2 comments
Closed

Disable index file generation #589

Eli-Nathan opened this issue Aug 27, 2021 · 2 comments

Comments

@Eli-Nathan
Copy link

馃挰 Questions and Help

Hey, awesome tool btw!

Is it possible to disable the automatic generation of the index.js file?

I'd rather manually create/maintain that in my project to allow me to add logic to it.

I'm on @svgr/cli: v5.5.0

I'm running with command:

npx svgr -d src src --ext js --native --ignore-existing

I tried downgrading to 4.0.0 and there is no index.js that gets generated but unfortunately it means losing other functionality that I need.

Is this possible?

@open-collective-bot
Copy link

Hey @Eli-Nathan 馃憢,
Thank you for opening an issue. We'll get back to you as soon as we can.
Please, consider supporting us on Open Collective. We give a special attention to issues opened by backers.
If you use SVGR at work, you can also ask your company to sponsor us 鉂わ笍.

@gregberge
Copy link
Owner

Done in #607

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants