Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions app/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ export default defineConfig(async () => ({
build: {
outDir: "../dist",
emptyOutDir: true,
// Desktop CEF has surfaced a runtime where `link.relList.supports` is
// truthy but not callable, which breaks Vite's injected modulepreload
// polyfill before React mounts (blank white window).
modulePreload: { polyfill: false },
// Emit source maps so @sentry/vite-plugin can upload them; the plugin
// deletes the on-disk .map files after upload so users don't receive
// them in the shipped bundle.
Expand Down
Loading