Skip to content

Commit 7321c6a

Browse files
lishaobosantfu
andauthored
fix: generate sourcemap with hires (unplugin#687) (unplugin#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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy