build: switch build/tsconfig.json to module: nodenext (#238426)

* build/tsconfig: switch to module: nodenext for bun compat

* build: rewrite imports for nodenext compat

* build: re-generate
This commit is contained in:
Aman Karmani
2025-01-22 11:12:39 -08:00
committed by GitHub
parent 02ea21a23d
commit e76c50f20e
122 changed files with 1907 additions and 1202 deletions

View File

@@ -5,10 +5,10 @@
// Can be removed once https://github.com/electron/electron-rebuild/pull/703 is available.
import * as fs from 'fs';
import * as path from 'path';
import * as debug from 'debug';
import * as extract from 'extract-zip';
import fs from 'fs';
import path from 'path';
import debug from 'debug';
import extract from 'extract-zip';
import { downloadArtifact } from '@electron/get';
const root = path.dirname(path.dirname(__dirname));