mirror of
https://github.com/Kong/insomnia.git
synced 2026-08-04 11:52:33 -04:00
* replace with __IS_RENDERER__ * fix: define __IS_RENDERER__ in inso and electron entrypoint builds process.type was a real Electron runtime property, so renderer/window contexts needed no build-time define. __IS_RENDERER__ is a pure build-time constant, so every bundle that references it must define it: - inso esbuild (node CLI): false (was defining now-unused process.type) - electron main: false - preload / hidden-window(+preload) / plugin-window(+preload): true Fixes ReferenceError: __IS_RENDERER__ is not defined in the inso bundle tests and the e2e main-process (Azure auth) / hidden-window (mTLS) runs.