Remove TypeScript path mappings in favor of relative imports
Replace common/*, browser/*, and headless/* path-mapped imports with relative paths across src/, addons/, test/, and demo/. Remove paths from all tsconfig.json files and include addon typings directly. Addon sources import shared code via out-esbuild/ so unit tests resolve compiled modules with runtime const enums. Fix benchmark bare imports and normalize corrupted tsconfig formatting. Resolves #5896 Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>
This commit is contained in:
co-authored by
Daniel Imms
parent
a04941a936
commit
9a96b27566
@@ -6,9 +6,9 @@
|
||||
import { perfContext, before, ThroughputRuntimeCase } from 'xterm-benchmark';
|
||||
|
||||
import { spawn } from 'node-pty';
|
||||
import { Utf8ToUtf32, stringFromCodePoint } from 'common/input/TextDecoder';
|
||||
import { Terminal } from 'browser/public/Terminal';
|
||||
import { SerializeAddon } from 'SerializeAddon';
|
||||
import { Utf8ToUtf32, stringFromCodePoint } from '../../../out-esbuild/common/input/TextDecoder';
|
||||
import { Terminal } from '../../../out-esbuild/browser/public/Terminal';
|
||||
import { SerializeAddon } from '../src/SerializeAddon';
|
||||
|
||||
class TestTerminal extends Terminal {
|
||||
public writeSync(data: string): void {
|
||||
|
||||
Reference in New Issue
Block a user