Files
v2rayA/gui/src
Zakk 9e0f73ee7b build(gui): bump vite from 4.5.14 to 6.4.3, with the define it rejects replaced
Dependabot's bump fails the build: vite.config.js defined the global apiRoot
as a template literal evaluated on every read (the backend address lives in
localStorage and the address dialog changes it), and Vite 5+ only accepts a
literal in define. The global is a getter on window now, installed by a plugin
imported first in main.js, returning the same expression on every read; the
call sites are untouched.
2026-09-18 21:33:27 +10:00
..