Skip to content

Commit 577ebcd

Browse files
committed
Pass process.platform through with Vite
1 parent c78fbed commit 577ebcd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

webview-ui/vite.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,7 @@ export default defineConfig({
3333
allowedHeaders: "*",
3434
},
3535
},
36+
define: {
37+
"process.platform": JSON.stringify(process.platform),
38+
},
3639
})

0 commit comments

Comments
 (0)