We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fb31d5 commit 0ca2b01Copy full SHA for 0ca2b01
packages/svelte/src/internal/client/dev/elements.js
@@ -64,7 +64,7 @@ function assign_locations(node, filename, locations) {
64
*/
65
export function print_location(element) {
66
// @ts-expect-error
67
- const loc = element.__svelte_meta.loc;
+ const loc = element.__svelte_meta?.loc;
68
if (!loc) return;
69
70
// add a zero-width space after `/` characters to prevent Chrome devtools printing it as a link
0 commit comments