SIGN IN SIGN UP

fix: inject process shim in index.html for Node.js polyfill compat

Pre-bundled deps (util, stream) and source modules both reference
process.env/process.version at the global scope. nodePolyfills'
globals.process injection doesn't work in electron-vite's renderer
context. Fix: add a synchronous <script> in index.html <head> that
provides a minimal process global before any modules load.

Also exclude `eve` (snap.svg internal dep) from Vite dep scan.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
R
Raaaaaymond committed
fa69ef7778a5bf03f7c066f37a46dc13a29d764b
Parent: 5be548f