Skip to content

Commit f46d02c

Browse files
committed
fix: fix passing debug option to tauri cli in build mode
1 parent 1e26c12 commit f46d02c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export function tauri(options?: {
8686
),
8787
},
8888
}),
89-
options?.debug ? "--debug" : "",
89+
...(options?.debug ? ["--debug"] : []),
9090
],
9191
"vite-plugin-tauri"
9292
);

0 commit comments

Comments
 (0)