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
Specify yaml config file failed "Invalid or unexpected token" #1343
Comments
Hi. Yaml is no longer supported. Also config format is changed. You can specify array of strings in this case. See release notes https://github.com/svg/svgo/releases/tag/v2.0.0 |
Neither the readme nor the release notes make clear how to disable a specific plugin, and things like The release notes make it look like we need to list all plugins, overriding the default list but that seem unpractical. I might be mis-reading the release notes. update: this is probably how, but where does {
plugins: extendDefaultPlugins([
{
name: 'removeViewBox',
active: false,
}
])
} |
I updated docs here #1337 |
Thank you @TrySound, that's mighty helpful! :) |
This works without config file:
Specify yaml config file failed:
./config/.svog.yml:
svgo 2.0.1
The text was updated successfully, but these errors were encountered: