Fix addon and dist builds after path mapping removal

Import shared core from ../../../out/common|browser in addons so tsc
and runtime agree. Enable preserveConstEnums so const enums remain in
compiled out/ for addon consumers.

Build xterm esbuild before addons so out-esbuild exists for parallel
addon jobs. Verified: npm run setup, esbuild-demo-client, package.

Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-05-28 01:08:32 +00:00
co-authored by Daniel Imms
parent 9a96b27566
commit 584954b4fb
38 changed files with 139 additions and 127 deletions
+2 -2
View File
@@ -3,8 +3,8 @@
* @license MIT
*/
import { throwIfFalsy } from '../../../out-esbuild/browser/renderer/shared/RendererUtils';
import type { ILogService } from '../../../out-esbuild/common/services/Services';
import { throwIfFalsy } from '../../../out/browser/renderer/shared/RendererUtils';
import type { ILogService } from '../../../out/common/services/Services';
/**
* A matrix that when multiplies will translate 0-1 coordinates (left to right,