Repository navigation
Commit ede906c
committed
fix: bundle the toolbar logo so it survives the production build
The logo was referenced by a runtime string (src="assets/lp5-logo.svg"),
which Vite does not copy into dist/, so it 404s on the deployed site.
Import the SVG instead so Vite bundles it (inlined as a data URI). Add
src/vite-env.d.ts to type the asset import.1 parent b094333 commit ede906c
2 files changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
178 | | - | |
| 179 | + | |
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments