Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow instrumentation of transformed files with weird file extensions
The default configuration of babel-plugin-istanbul only allows instrumentation of files with extensions .js, .cjs, .mjs, .ts, .tsx, .jsx (https://github.com/istanbuljs/schema/blob/v0.1.2/index.js#L71). However, we know that we’re running it on code that we just transformed to JavaScript, so the source language no longer matters, and we should disable this check to get complete instrumentation. Signed-off-by: Anders Kaseorg <[email protected]>
- Loading branch information