Skip to content

Commit d1f4beb

Browse files
chore: add comment
1 parent 2813ed2 commit d1f4beb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/svelte/src/compiler/utils/compile_diagnostic.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ function get_code_frame(source, line, column) {
5151
/** @implements {ICompileDiagnostic} */
5252
export class CompileDiagnostic {
5353
name = 'CompileDiagnostic';
54+
// adding an empty stack so that vite will show the file and frame during build
5455
stack = '';
5556

5657
/**

0 commit comments

Comments
 (0)