File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import * as timeProfiler from './time-profiler';
21
21
export { AllocationProfileNode , TimeProfileNode , ProfileNode } from './v8-types' ;
22
22
23
23
export { encode , encodeSync } from './profile-encoder' ;
24
- export { SourceMapper } from './sourcemapper/sourcemapper' ;
24
+ export { SourceMapper , createFromMapFiles } from './sourcemapper/sourcemapper' ;
25
25
26
26
export const time = {
27
27
profile : timeProfiler . profile ,
Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ export class SourceMapper {
222
222
}
223
223
}
224
224
225
- async function createFromMapFiles ( mapFiles : string [ ] ) : Promise < SourceMapper > {
225
+ export async function createFromMapFiles ( mapFiles : string [ ] ) : Promise < SourceMapper > {
226
226
const limit = pLimit ( CONCURRENCY ) ;
227
227
const mapper = new SourceMapper ( ) ;
228
228
const promises : Array < Promise < void > > = mapFiles . map ( mapPath =>
You can’t perform that action at this time.
0 commit comments