Commit 2cc1570
fix: blank window — vite base must be relative for electrobun
Vite defaults to base: '/' producing absolute asset paths like
/assets/index.js. Electrobun loads views from the filesystem where
absolute paths don't resolve. Setting base: './' produces relative
paths (./assets/index.js) that work in the webview.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 83f8213 commit 2cc1570
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
0 commit comments