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

feat: Use source base name to prefix cache files #1144

Merged
merged 1 commit into from Aug 23, 2019

Conversation

coreyfarrell
Copy link
Member

This utilizes a new feature of caching-transform@4 to prefix cache instrumented sources and source-maps with a more useful name. For example lib/worker.js might get cached as node_modules/.cache/nyc/worker-d84d3c7a86d2657c33e0c6f4fe3013270d7887ae76e3bf14bde6286cffc79b47.js. Also added a test to verify creation of the cached source map when appropriate.

@coveralls
Copy link

coveralls commented Jul 12, 2019

Coverage Status

Coverage increased (+0.02%) to 96.859% when pulling 0bd9b98 on coreyfarrell:cache-prefix into 00c3b34 on istanbuljs:master.

@coreyfarrell coreyfarrell requested review from JaKXz and bcoe and removed request for JaKXz July 12, 2019 01:03
@bcoe
Copy link
Member

bcoe commented Aug 23, 2019

this seems reasonable to me, potentially helps with debugging?

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

4 participants