Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ssrRewriteStacktrace
1 parent 363d691 commit 4309755Copy full SHA for 4309755
packages/vite/src/node/ssr/ssrStacktrace.ts
@@ -52,7 +52,7 @@ export function ssrRewriteStacktrace(
52
return input
53
}
54
55
- const trimmedVarName = varName.trim()
+ const trimmedVarName = varName?.trim()
56
const sourceFile = path.resolve(path.dirname(id), pos.source)
57
// stacktrace's column is 1-indexed, but sourcemap's one is 0-indexed
58
const source = `${sourceFile}:${pos.line}:${pos.column + 1}`
0 commit comments