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

Enable additional instrumentation sources to be defined in "buster-istanbul" config section #20

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

Conversation

major-mann
Copy link

When running in a node environment, adding the sources to the global array can be undesirable as buster automatically calls require on the sources and runs the source code.

This change adds the ability to put a sources array into the local configuration which will be globbed and then added to the collection of files to instrument.

This allows files to be instrumented without also being executed.

@alexindigo
Copy link

+1 Can't wait.

@CorWatts
Copy link

+1
Could we get this merged in please?

@major-mann
Copy link
Author

One of my colleagues got hold of the devs (We have some PRs in other buster projects) and they indicated they no longer use buster themselves. If you want this functionality, I have forked this repo at https://github.com/major-mann/buster-istanbul

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.

3 participants