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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement exclude pattern cli option #1409

Merged
merged 6 commits into from Mar 28, 2021
Merged

Implement exclude pattern cli option #1409

merged 6 commits into from Mar 28, 2021

Conversation

chambo-e
Copy link
Contributor

@chambo-e chambo-e commented Mar 8, 2021

Hello,

I ran accross #1392 because we have almost exactly the same issue
We currently have a kinda big custom script allowing us to do filtering on recursive svgo processing and we were trying to migrate to the cli but this feature is missing

So I implementend a tiny option which accept an array of regex pattern that we can use to filter out file descriptors

lib/svgo/coa.js Outdated Show resolved Hide resolved
chambo-e and others added 2 commits March 9, 2021 20:50
Co-authored-by: Toke Voltelen <tokevoltelen@gmail.com>
@chambo-e
Copy link
Contributor Author

cc @TrySound @deepsweet if you have 5 min to take a look :)

@TrySound TrySound merged commit 09aec37 into svg:master Mar 28, 2021
@TrySound
Copy link
Member

Thanks!

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.

None yet

3 participants