Skip to content

Commit 7321c6a

Browse files
lishaobosantfu
andauthored
fix: generate sourcemap with hires (#687) (#688)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
1 parent 232a0f4 commit 7321c6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/transformer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default function transformer(ctx: Context, transformer: SupportedTransfor
3232

3333
const result: TransformResult = { code: s.toString() }
3434
if (ctx.sourcemap)
35-
result.map = s.generateMap({ source: id, includeContent: true })
35+
result.map = s.generateMap({ source: id, includeContent: true, hires: 'boundary' })
3636
return result
3737
}
3838
}

0 commit comments

Comments
 (0)