-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Adding svgoConfig file path as a command line argument #136
Comments
HI @josealeixopc thx a lot for the question. Currently, we don't support custom paths for svgo configs. However, you can always configure your |
here's an example of inline svgo config inside the
|
Thanks @kreuzerk ! Passing the config using the |
@josealeixopc 👍 Glad to hear that it worked |
Hello. First of all, thank you so much for maintaining this tool!
I've recently updated
svg-to-ts
to 7.1.0 and noticed that some of my icons were not scaling properly. I figured it had to do with SVGO settingremoveViewBox
as a default plugin. I wish to use my own SVGO config to disable this behavior.I have added a
svgo.config.js
file to the root of my project and successfully gotten the desired behavior. However, I would like to keep the root folder as little "polluted" as possible. I was wondering if on the most recent version (7.1.0
) there is a way of providing the path to thesvgo.config.js
file in the command line. If not, could you provide an example of a "inline configuration object" for the SVGO config?Cheers!
The text was updated successfully, but these errors were encountered: