mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-10 10:06:15 -08:00
apps/electron-backend/tsconfig.json now sets target ES2022, so the main-process bundles, the preloads and the backend's Jest specs no longer downlevel async/await, optional chaining and nullish coalescing for ES2015. Electron 43 runs them natively in the main process and in the sandboxed preload. tsconfig.base.json keeps es2015 because other projects inherit it. useDefineForClassFields stays false, so class fields keep their constructor assignment semantics and only syntax changes. main.js + main.app.js + deferred-events.js + main.preload.js shrink from 2,008,115 to 1,853,599 bytes (-7.7%); every inlined __awaiter helper is gone. Startup did not move measurably: main-process CPU to did-finish-load and the J1 launch journey were flat in interleaved A/B runs, with identical counters. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>