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 1
1
import { readFile } from '@shopify/cli-kit/node/fs' ;
2
2
import { Session , type Profiler } from 'node:inspector' ;
3
- import type { SourceMapConsumer } from 'source-map' ;
3
+ import { SourceMapConsumer } from 'source-map' ;
4
4
import { handleMiniOxygenImportFail } from './mini-oxygen/common.js' ;
5
5
import { importLocal } from './import-utils.js' ;
6
6
@@ -72,7 +72,6 @@ async function enhanceProfileNodes(
72
72
sourceMapPath : string ,
73
73
sourceEntrypoint ?: string ,
74
74
) {
75
- const { SourceMapConsumer} = await import ( 'source-map' ) ;
76
75
const sourceMap = JSON . parse ( await readFile ( sourceMapPath ) ) ;
77
76
const smc = await new SourceMapConsumer ( sourceMap , 'file://' + sourceMapPath ) ;
78
77
Original file line number Diff line number Diff line change
1
+ Subproject commit ba7caab748c004b64fb5f40e6db0bd9770e616be
You can’t perform that action at this time.
0 commit comments