You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

9 lines
387 B

import { RawSourceMap } from "istanbul-lib-instrument";
import { loader } from "webpack";
/**
* Adds code coverage instrumentation using Istanbul.
*
* If the source code has an existing source map, then it is used to re-map the instrumented
* code back to the original source.
*/
export default function (this: loader.LoaderContext, source: string, sourceMap?: RawSourceMap): void;