Skip to content

Commit

Permalink
fix(router-plugin): correctly generate source maps for automatic code…
Browse files Browse the repository at this point in the history
… splitting (#2997)
  • Loading branch information
schiller-manuel authored Dec 12, 2024
1 parent a91cfd9 commit 48c13d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/router-plugin/src/core/code-splitter/compilers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ export function compileCodeSplitReferenceRoute(opts: ParseAstOptions) {

return generate(ast, {
sourceMaps: true,
sourceFileName: opts.filename,
})
}

Expand Down Expand Up @@ -541,6 +542,7 @@ export function compileCodeSplitVirtualRoute(opts: ParseAstOptions) {

return generate(ast, {
sourceMaps: true,
sourceFileName: opts.filename,
})
}

Expand Down

0 comments on commit 48c13d3

Please sign in to comment.