Skip to content

Commit

Permalink
fix: generate better sourcemap
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jun 3, 2022
1 parent 8b70cff commit 634561e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/ctx.ts
Expand Up @@ -129,7 +129,7 @@ export function createContext(options: Options = {}, root = process.cwd()) {

return {
code: s.toString(),
map: s.generateMap(),
map: s.generateMap({ source: id, includeContent: true }),
}
}

Expand Down

0 comments on commit 634561e

Please sign in to comment.