Skip to content

Commit

Permalink
fix: use hires: true for SSR require hook source map (#6310)
Browse files Browse the repository at this point in the history
  • Loading branch information
Monkatraz committed Dec 30, 2021
1 parent 0f393a1 commit 0ebeb98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/vite/src/node/plugins/ssrRequireHook.ts
Expand Up @@ -31,7 +31,8 @@ export function ssrRequireHookPlugin(config: ResolvedConfig): Plugin | null {
return {
code: s.toString(),
map: s.generateMap({
source: id
source: id,
hires: true
})
}
}
Expand Down

0 comments on commit 0ebeb98

Please sign in to comment.