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

Allow filtering of files transformed by built-in source transformers. #59

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Allow filtering of files transformed by built-in source transformers. #59

wants to merge 2 commits into from

Conversation

m-orchard
Copy link

Hi,

This is related to and based on #58.

This allows you to specify a regex when registering built-in source transformers, which will cause transformers only to be ran of files than match the regex.

This was useful to us, to prevent istanbul coverage being generated for files we didn't want (e.g. node_modules).

This PR does have tests - hopefully they are sufficient - but since the branch is based on #58 then you may not want to merge it until that also has tests.

Cheers!

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.

1 participant