File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import * as timeProfiler from './time-profiler';
2121export { AllocationProfileNode , TimeProfileNode , ProfileNode } from './v8-types' ;
2222
2323export { encode , encodeSync } from './profile-encoder' ;
24- export { SourceMapper } from './sourcemapper/sourcemapper' ;
24+ export { SourceMapper , createFromMapFiles } from './sourcemapper/sourcemapper' ;
2525
2626export const time = {
2727 profile : timeProfiler . profile ,
Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ export class SourceMapper {
222222 }
223223}
224224
225- async function createFromMapFiles ( mapFiles : string [ ] ) : Promise < SourceMapper > {
225+ export async function createFromMapFiles ( mapFiles : string [ ] ) : Promise < SourceMapper > {
226226 const limit = pLimit ( CONCURRENCY ) ;
227227 const mapper = new SourceMapper ( ) ;
228228 const promises : Array < Promise < void > > = mapFiles . map ( mapPath =>
You can’t perform that action at this time.
0 commit comments